dhis2 / app-platform

DHIS 2 application platform layer with inverted app control
https://platform.dhis2.nu
BSD 3-Clause "New" or "Revised" License
27 stars 16 forks source link

fix: provide fallback api version [LIBS-683] #877

Closed tomzemp closed 1 month ago

tomzemp commented 1 month ago

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.

dhis2-bot commented 1 month ago

:tada: This PR is included in version 11.7.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dhis2-bot commented 1 week ago

:tada: This PR is included in version 12.0.0-alpha.22 :tada:

The release is available on:

Your semantic-release bot :package::rocket: