diff --git a/Website/__init__.py b/Website/__init__.py index 5c70140..45b4abb 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -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"}))