Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 9, 2023
1 parent c725ca4 commit f7f35a2
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3492,14 +3492,18 @@ def search_users(
if not user and not query:
raise ValueError("Either 'user' or 'query' arguments must be specified.")

params = json.dumps({
"username": user,
"query": query,
"includeActive": includeActive,
"includeInactive": includeInactive,
})
params = json.dumps(
{
"username": user,
"query": query,
"includeActive": includeActive,
"includeInactive": includeInactive,
}
)

return self._fetch_pages(User, None, "user/search", startAt, maxResults, json.loads(params))
return self._fetch_pages(
User, None, "user/search", startAt, maxResults, json.loads(params)
)

def search_allowed_users_for_issue(
self,
Expand Down

0 comments on commit f7f35a2

Please sign in to comment.