Skip to content

Fixing axios bug and broken test#5

Open
arozar wants to merge 2 commits intoUKHSA-Internal:masterfrom
arozar:master
Open

Fixing axios bug and broken test#5
arozar wants to merge 2 commits intoUKHSA-Internal:masterfrom
arozar:master

Conversation

@arozar
Copy link
Copy Markdown

@arozar arozar commented Mar 5, 2021

This fixes 2 issues

Fix for issue #4

Have increased the version of axios from 0.19.2 to 0.21.0 to fix an axios bug that was causing the getJSON call to fail.

Fix for a broken test to options endpoint

The JSON document for the api has moved so have added a new static variable for the correct location.

Copy link
Copy Markdown

@ZackaryH8 ZackaryH8 left a comment

Choose a reason for hiding this comment

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

This PR looks good and after testing it seems to have fixed all current issues with the package.

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.

2 participants