Skip to content

Commit

Permalink
Merge pull request #81 from permitio/oded/per-9805-python-sdk-small-t…
Browse files Browse the repository at this point in the history
…ype-error-bug-2

fix wrong param name
  • Loading branch information
obsd authored May 5, 2024
2 parents 87eecb6 + 45102f8 commit 32906ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion permit/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def handle_api_error(response: aiohttp.ClientResponse):
raise PermitApiError(
f"{response.status} API Error",
response,
json={"status_code": response.status, "error": error_string},
{"status_code": response.status, "error": error_string},
)

# fallback to handle json errors
Expand Down

0 comments on commit 32906ce

Please sign in to comment.