Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix language constant to show correct lang in API #2832

Merged
merged 2 commits into from
Apr 17, 2023
Merged

Conversation

jaschaurbach
Copy link
Member

api/v1/instance had "en" hardcoded as language. This fix takes LANGUAGE_CODE from settings.py/.env and takes the first two letters as response.

this fixes #2830

api/v1/instance had "en" hardcoded as language. This fix takes LANGUAGE_CODE from settings.py/.env and takes the first two letters as response.
./bw-dev black
@mouse-reeve mouse-reeve merged commit ed5471c into main Apr 17, 2023
@mouse-reeve mouse-reeve deleted the fix-api/instance branch April 17, 2023 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hardcoded language ISO in instance info
2 participants