Skip to content

Commit

Permalink
fix: allow 3XX http codes
Browse files Browse the repository at this point in the history
  • Loading branch information
adeprez committed Oct 4, 2024
1 parent e9483b0 commit 6a04de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lavague-sdk/lavague/sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def request_api(
json=json,
headers=headers,
)
if response.status_code > 299:
if response.status_code >= 400:
raise ApiException(response.text)
return response.content

Expand Down

0 comments on commit 6a04de6

Please sign in to comment.