Skip to content

Commit

Permalink
fix wrong param name
Browse files Browse the repository at this point in the history
  • Loading branch information
obsd committed May 2, 2024
1 parent 87eecb6 commit 45102f8
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 45102f8

Please sign in to comment.