mirror of
https://github.com/NovaOSS/nova-cord.git
synced 2024-11-25 18:43:57 +01:00
Update accounts.py
Made request_user_by_discord_id use strings
This commit is contained in:
parent
369edc632f
commit
bbfaeafafa
|
@ -12,7 +12,7 @@ load_dotenv()
|
|||
|
||||
async def request_user_by_discord_id(discord_id):
|
||||
return requests.get(
|
||||
url=f'https://api.nova-oss.com/users?discord_id={discord_id}',
|
||||
url=f'https://api.nova-oss.com/users?discord_id="{discord_id}"',
|
||||
timeout=3,
|
||||
headers={
|
||||
'Content-Type': 'application/json',
|
||||
|
|
Loading…
Reference in a new issue