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: provide fallback api version [LIBS-683] #877

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

tomzemp
Copy link
Member

@tomzemp tomzemp commented Sep 23, 2024

See https://dhis2.atlassian.net/browse/LIBS-683

This provides a safeguard for the login app to default to an api version if the api version is missing from api/loginConfig (see linked slack discussion on the thread).

I think it would be better to fix this on the backend to reliably be able to get and return that api version, but this helps prevent users not being able to log in while we refine how to improve consistency of api/loginConfig.

@tomzemp tomzemp marked this pull request as ready for review September 24, 2024 09:37
@kabaros kabaros merged commit dc7bdfa into master Sep 26, 2024
6 checks passed
@kabaros kabaros deleted the LIBS-683/default-login-apiversion branch September 26, 2024 14:19
dhis2-bot added a commit that referenced this pull request Sep 26, 2024
## [11.7.2](v11.7.1...v11.7.2) (2024-09-26)

### Bug Fixes

* provide fallback api version [LIBS-683] ([#877](#877)) ([dc7bdfa](dc7bdfa))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 11.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants