Print swipe data
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Madis Mägi 2023-08-10 23:27:18 +03:00
parent aefca34351
commit d37cb302bb

View File

@ -212,6 +212,7 @@ class FormSwipe(FlaskForm):
@page_doorboy.route("/m/doorboy/swipe", methods=["POST"]) @page_doorboy.route("/m/doorboy/swipe", methods=["POST"])
def view_swipe(): def view_swipe():
form = request.json form = request.json
print(form)
now = datetime.utcnow() now = datetime.utcnow()
# Make sure token exists # Make sure token exists
db.inventory.update_one({ db.inventory.update_one({