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: unable to send request to pwpush api #227

Merged
merged 1 commit into from
Dec 23, 2021
Merged

Conversation

Chesire
Copy link
Owner

@Chesire Chesire commented Dec 23, 2021

Description of the change

Removed the ID field from the parsed model so we no longer look into the response for it.

Reason for the change

The API had removed the ID field from the response, so when trying to get this field from the json response we were failing to parse it and throwing an error.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have fixed all new raised warnings

The API had removed the ID field from the response, so when trying to get this field from the json
response we were failing to parse it and throwing an error. Removed the field from the parsed model
so it no longer causes an issue.
@Chesire Chesire self-assigned this Dec 23, 2021
@commit-lint
Copy link

commit-lint bot commented Dec 23, 2021

Bug Fixes

  • unable to send request to pwpush api (0ac3779)

Contributors

Chesire

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@Chesire Chesire changed the title fix: Unable to send request to pwpush api fix: unable to send request to pwpush api Dec 23, 2021
@Chesire Chesire merged commit 29d5010 into master Dec 23, 2021
@Chesire Chesire deleted the fix/cannot-send-request branch December 23, 2021 15:09
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