typo
This commit is contained in:
parent
53599af9bf
commit
d851f4a1fe
@ -52,7 +52,7 @@ def add_item():
|
|||||||
else:
|
else:
|
||||||
# item is valid
|
# item is valid
|
||||||
fill_db(extr)
|
fill_db(extr)
|
||||||
return jsonify({'status': 0, , "info": "item added to database"}), 200
|
return jsonify({'status': 0, "info": "item added to database"}), 200
|
||||||
else:
|
else:
|
||||||
# item not valid or can't be parsed
|
# item not valid or can't be parsed
|
||||||
return jsonify({'status': 1, "info": "item not valid or can't be parsed"}), 400
|
return jsonify({'status': 1, "info": "item not valid or can't be parsed"}), 400
|
||||||
|
Loading…
x
Reference in New Issue
Block a user