1
0
Fork 0
forked from bton/matekasse
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': elif request.method == 'GET':
db = get_db() db = get_db()
c = db.cursor() c = db.cursor()
userid = reqest.args.get("id") userid = request.args.get("id")
c.execute("SELECT * FROM users WHERE id=?", [userid]) c.execute("SELECT * FROM users WHERE id=?", [userid])
user = c.fetchone() user = c.fetchone()
if user != None: if user != None: