Skip to content

Commit

Permalink
Merge pull request #1 from wpjunior/patch-1
Browse files Browse the repository at this point in the history
Search components by kwargs
  • Loading branch information
David Moreau Simard authored Aug 15, 2016
2 parents cf4926f + 9afa4d0 commit 2daf8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cachetclient/cachet.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get(self, id=None, **kwargs):
if id is not None:
return self._get('components/%s' % id)
else:
return self._get('components')
return self._get('components', data=kwargs)

@api_token_required
def post(self, **kwargs):
Expand Down

0 comments on commit 2daf8ef

Please sign in to comment.