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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ColonyClient params #98

Merged
merged 1 commit into from
May 21, 2018
Merged

Conversation

JamesLefrere
Copy link
Contributor

Description

There was another bug introduced in #95 which I (and Flow, and the tests) didn't catch 馃檲

The ContractClient class constructor (which ColonyClient is derived from) accepts one object parameter, not two; the query to load the contract was being passed in as a second query, instead of as a property of the object.

This PR fixes that and amends the tests.

* ContractClients should be constructed with a `query` property in the first parameter (not as a second parameter)
Copy link
Member

@rdig rdig left a comment

Choose a reason for hiding this comment

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

Looks good to me 馃憤

@JamesLefrere JamesLefrere mentioned this pull request May 21, 2018
36 tasks
@JamesLefrere JamesLefrere requested review from chmanie and removed request for chmanie May 21, 2018 13:06
@JamesLefrere JamesLefrere merged commit 975db73 into master May 21, 2018
@JamesLefrere JamesLefrere deleted the fix/get-colony-client-query branch May 21, 2018 13:06
chmanie pushed a commit that referenced this pull request May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants