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: allow env var override of api version #67

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

amcgee
Copy link
Member

@amcgee amcgee commented Sep 25, 2019

API version was incorrectly fixed at 32 which stopped apps from targeting 2.31 servers. We should allow it to be overridden with the DHIS2_API_VERSION environment variable, at least until we automatically configure the API version based on the server version.

Thanks Terje for the bug report!

@amcgee amcgee requested a review from varl September 25, 2019 11:59
@netlify
Copy link

netlify bot commented Sep 25, 2019

Deploy preview for dhis2-app-platform ready!

Built with commit f2eebc2

https://deploy-preview-67--dhis2-app-platform.netlify.com

@amcgee amcgee merged commit dc1b6df into master Sep 25, 2019
@amcgee amcgee deleted the fix/allow-api-version-overrides branch September 25, 2019 13:30
dhis2-bot added a commit that referenced this pull request Sep 25, 2019
## [1.4.3](v1.4.2...v1.4.3) (2019-09-25)

### Bug Fixes

* allow env var override of api version ([#67](#67)) ([dc1b6df](dc1b6df))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 1.4.3 🎉

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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants