we want token, not toke

This commit is contained in:
Nexus 2024-02-19 11:55:54 +00:00
parent 46f675c352
commit c81a1b7fc4

View file

@ -350,7 +350,7 @@ async def bridge_bind_new(mx_id: str):
app.state.binds[token] = mx_id
url = discord.utils.oauth_url(
OAUTH_ID, redirect_uri=OAUTH_REDIRECT_URI, scopes=("identify")
) + f"&state={toke}&prompt=none"
) + f"&state={token}&prompt=none"
return {
"status": "pending",
"url": url,