From c70672a73d00288cd2a212e3e67a1ce9d9fd6559 Mon Sep 17 00:00:00 2001 From: Tracker-Friendly Date: Sat, 30 Mar 2024 19:38:03 +0000 Subject: [PATCH] Forgot the ? --- main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main b/main index 86dd1d3..95a1951 100644 --- a/main +++ b/main @@ -279,7 +279,7 @@ async def apiauthenticate(): nextjwt_token = jwt.encode(datatemplate2, SECRET_KEY, algorithm='HS256') - conn.execute("INSERT INTO logins (appId, secret, nextsecret, code, nextcode, creator, openid, nextopenid) VALUES (?, ?, ?, ?, ?, ?, ?)", + conn.execute("INSERT INTO logins (appId, secret, nextsecret, code, nextcode, creator, openid, nextopenid) VALUES (?, ?, ?, ?, ?, ?, ?, ?)", (str(appId), str(secretkey), str(secrets.token_hex(512)), str(secrets.token_hex(512)), str(secrets.token_hex(512)), int(user["id"]), str(jwt_token), str(nextjwt_token))) conn.commit()