Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Fix all occurrences of missing the client object for get() calls #44

Merged
merged 3 commits into from
Sep 30, 2018

Conversation

vsimon
Copy link
Contributor

@vsimon vsimon commented Sep 30, 2018

This PR replaces all occurrences of get(...) with client.get(...) in the resources folder.

Addresses #43

@vsimon
Copy link
Contributor Author

vsimon commented Sep 30, 2018

Also noticed the 'token' variable was being used without it being declared in some classes in the resources folder. Removed those occurrences as well.

@vsimon
Copy link
Contributor Author

vsimon commented Sep 30, 2018

Added a test which reproduces the original issue on the master branch. Followed the pattern of the other tests. Utilizing the 'next' field in the first request triggers the original problem.

Copy link
Owner

@westonplatter westonplatter left a comment

Choose a reason for hiding this comment

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

Everything looks great. 👍 Thanks for the PR and cleaning up the code and the tests!

@westonplatter westonplatter merged commit 00d15f9 into westonplatter:master Sep 30, 2018
@vsimon vsimon deleted the fix-gets branch October 1, 2018 05:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants