@ -22,7 +22,7 @@ class Authentication:
if len(token) != 43:
return False
with self.connect() as c:
res = cur.execute("SELECT token FROM users WHERE profileId=?",
res = c.execute("SELECT token FROM users WHERE profileId=?",
(profileId,)).fetchone()
if res is not None and res[0] != token: