typo
This commit is contained in:
parent
8d25e0b645
commit
ef43f79ff4
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue