mirror of
https://github.com/NovaOSS/nova-cord.git
synced 2024-11-25 20:53:58 +01:00
Update accounts.py
Reverted change
This commit is contained in:
parent
bbfaeafafa
commit
dd85b437f6
|
@ -12,7 +12,7 @@ load_dotenv()
|
||||||
|
|
||||||
async def request_user_by_discord_id(discord_id):
|
async def request_user_by_discord_id(discord_id):
|
||||||
return requests.get(
|
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,
|
timeout=3,
|
||||||
headers={
|
headers={
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
Loading…
Reference in a new issue