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

ACT-482: Fix error when updating indicator data #488

Merged
merged 1 commit into from
Apr 24, 2020
Merged

ACT-482: Fix error when updating indicator data #488

merged 1 commit into from
Apr 24, 2020

Conversation

Kimaiyo077
Copy link
Collaborator

What is the Purpose?

Fix JSON decoding error that occurs when trying to update an Indicator that has existing disaggregations.

What was the approach?

Add a JSON.stringfy to the data being passed to the backend, this will allow the full object to be sent back and then decoded successfully by the backend. The previous implementation returned a representation of the object that could not be decoded in the backend.

Are there any concerns to addressed further before or after merging this PR?

None

Mentions?

@odenypeter @andrewtpham @TAnas0

Issue(s) affected?

#482
#455

@odenypeter odenypeter merged commit c7c97d1 into dev Apr 24, 2020
@odenypeter odenypeter deleted the ACT-482 branch April 24, 2020 13:32
@andrewtpham andrewtpham linked an issue Apr 27, 2020 that may be closed by this pull request
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.

JSON decode error when updating Indicator model
2 participants