Skip to content

Commit

Permalink
problem: spelling error with 429 handling
Browse files Browse the repository at this point in the history
  • Loading branch information
wesyoung committed Nov 22, 2024
1 parent 4e5624b commit 8ff63e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alphahunt_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def research(
f"{self.remote}/research", params={"tracking_id": data["id"]}
)

if rv.status_cde == 429:
if rv.status_code == 429:
raise RateLimitError("Rate limit exceeded (HTTP429)")

if rv.status_code >= 300:
Expand Down

0 comments on commit 8ff63e0

Please sign in to comment.