mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
we want token, not toke
This commit is contained in:
parent
46f675c352
commit
c81a1b7fc4
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ async def bridge_bind_new(mx_id: str):
|
||||||
app.state.binds[token] = mx_id
|
app.state.binds[token] = mx_id
|
||||||
url = discord.utils.oauth_url(
|
url = discord.utils.oauth_url(
|
||||||
OAUTH_ID, redirect_uri=OAUTH_REDIRECT_URI, scopes=("identify")
|
OAUTH_ID, redirect_uri=OAUTH_REDIRECT_URI, scopes=("identify")
|
||||||
) + f"&state={toke}&prompt=none"
|
) + f"&state={token}&prompt=none"
|
||||||
return {
|
return {
|
||||||
"status": "pending",
|
"status": "pending",
|
||||||
"url": url,
|
"url": url,
|
||||||
|
|
Loading…
Reference in a new issue