This commit is contained in:
bton 2024-02-20 18:05:43 +01:00
parent 8d25e0b645
commit ef43f79ff4

View file

@ -276,7 +276,7 @@ def create_app(test_config=None):
elif request.method == 'GET':
db = get_db()
c = db.cursor()
userid = reqest.args.get("id")
userid = request.args.get("id")
c.execute("SELECT * FROM users WHERE id=?", [userid])
user = c.fetchone()
if user != None: