Skip to content

Commit e03fd83

Browse files
committed
fix api call
1 parent a5fe309 commit e03fd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

random_user_fetcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def fetch_random_user(api, tokens):
2828

2929
token = random.choice(tokens)
3030
try:
31-
result = api.get_user(token)
31+
result = api.get_user("token", token)
3232
if result and result.get("status") == "ok":
3333
return result
3434
else:

0 commit comments

Comments
 (0)