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: GDC API endpoints and error handling #51

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

RoryPTB
Copy link
Contributor

@RoryPTB RoryPTB commented Jun 26, 2024

This branch was intended to solve the issue of the China GDC returning an error when fetched. However, it turns out that this GDC does not have CORS enabled so is out of our control.

Minor Changes

  • Error title variable is now correctly initialised.
  • The JSON endpoint (?f=json) is now used for both the Canada and China GDC and is corrected to use an ampersand when querying.

@RoryPTB RoryPTB merged commit 0cc3b63 into main Jun 26, 2024
3 checks passed
@RoryPTB RoryPTB deleted the bugfix/display-cma branch June 26, 2024 17:22
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