this is cookie
This commit is contained in:
parent
b2c8ee3d6c
commit
84185ad51c
2
app.py
2
app.py
@ -94,7 +94,7 @@ async def validate(data: dict) -> bool:
|
||||
return False
|
||||
|
||||
@app.get('/callback/discord')
|
||||
async def update_metadata(response: Response, code: str, steam_id: str = Cookie()):
|
||||
async def update_metadata(response: Response, code: str, steam_id: Cookie()):
|
||||
token = await client.get_access_token(code)
|
||||
user = await client.fetch_user(token)
|
||||
|
||||
|
Reference in New Issue
Block a user