1
0
Fork 0
forked from bton/matekasse

Es muss im Stable getestet werden

This commit is contained in:
bton 2024-02-25 17:36:36 +01:00
parent ac907638e6
commit 0147e61c6b

View file

@ -326,7 +326,7 @@ def create_app(test_config=None):
finished = queue_item
return make_response(json.dumps({"mode":"error","error":"170"}))
else:
change_db("addtag", after=tag_id)
change_db("addtag", after=tag_id, user_id=user_id)
message = f"Added {tag_id} to {username}"
finished = queue_item
return make_response(json.dumps({"mode":"message","username":"{}".format(username),"message":"A tag was added"}))