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: persist update to personal access token [DHIS2-17382] #101

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

tomzemp
Copy link
Member

@tomzemp tomzemp commented Sep 10, 2024

See https://dhis2.atlassian.net/browse/DHIS2-17382

accessToken was missing from fields checked to persist update.

Before: updating access token did not trigger patch to update.
After: updating access token triggers patch update.

Tested manually and added an automated test.

@tomzemp tomzemp requested review from a team as code owners September 10, 2024 13:52
@@ -29,6 +29,7 @@ const getJsonPatch = ({ formattedValues, form, requestsTouched }) => {
const targetFields = [
'type',
'authentication',
'accessToken',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the actual change outside of the addition of the automated test.

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Sep 10, 2024

🚀 Deployed on https://pr-101--dhis2-data-exchange.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify September 10, 2024 13:56 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 11, 2024 15:08 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 11, 2024 15:13 Inactive
@tomzemp tomzemp merged commit db25fa4 into master Sep 11, 2024
8 checks passed
dhis2-bot added a commit that referenced this pull request Sep 11, 2024
## [100.9.5](v100.9.4...v100.9.5) (2024-09-11)

### Bug Fixes

* persist update to personal access token [DHIS2-17382] ([#101](#101)) ([db25fa4](db25fa4))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.9.5 🎉

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