Skip to content

Handle conflicts, and response wrapper. #310

Open
mestachs wants to merge 2 commits into
devfrom
support-dhis2-2.38
Open

Handle conflicts, and response wrapper. #310
mestachs wants to merge 2 commits into
devfrom
support-dhis2-2.38

Conversation

@mestachs
Copy link
Copy Markdown
Collaborator

@mestachs mestachs commented Dec 28, 2022

dhis2 changed it's api and http status code since 2.38

  • 409 (so http client lib will throw an exception)
  • return the "payload" wrapped in a response

I've adapted by just "catching and unwrapping" when it happens

@mestachs mestachs marked this pull request as ready for review January 9, 2023 09:51
@mestachs mestachs changed the title WIP : handle conflicts, and response wrapper. Handle conflicts, and response wrapper. Jan 9, 2023
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.

1 participant