Skip to content

Commit

Permalink
Changed client.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
svermeulen committed Apr 18, 2020
1 parent 55cbbd6 commit 2fb47c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2813,12 +2813,12 @@ def delete_user_avatar(self, username, avatar):
return self._session.delete(url, params=params)

def search_users(
self, user, startAt=0, maxResults=50, includeActive=True, includeInactive=False
self, query, startAt=0, maxResults=50, includeActive=True, includeInactive=False
):
"""Get a list of user Resources that match the specified search string.
:param user: a string to match usernames, name or email against.
:type user: str
:param query: a string to match usernames, name or email against.
:type query: str
:param startAt: index of the first user to return.
:type startAt: int
:param maxResults: maximum number of users to return.
Expand All @@ -2833,7 +2833,7 @@ def search_users(
:rtype: ResultList
"""
params = {
"username": user,
"query": query,
"includeActive": includeActive,
"includeInactive": includeInactive,
}
Expand Down

0 comments on commit 2fb47c6

Please sign in to comment.