This commit is contained in:
Tracker-Friendly 2024-03-28 17:51:46 +00:00
parent f3ae325532
commit 8243ffea73
1 changed files with 1 additions and 1 deletions

2
main
View File

@ -286,7 +286,7 @@ async def apicreateauth():
userCookie = get_session(secretKey) userCookie = get_session(secretKey)
user = get_user(userCookie["id"]) user = get_user(userCookie["id"])
conn.execute("INSERT INTO keys (appId, creator, secret) VALUES (?, ?, ?)", conn.execute("INSERT INTO oauth (appId, creator, secret) VALUES (?, ?, ?)",
(str(appId),int(user["id"]),str(secret))) (str(appId),int(user["id"]),str(secret)))
conn.commit() conn.commit()
conn.close() conn.close()