From 89ab53242505c3f1fc1de024e4bb947149abcd83 Mon Sep 17 00:00:00 2001 From: Aevann1 <59999695+Aevann1@users.noreply.github.com> Date: Sat, 10 Sep 2022 15:46:56 +0200 Subject: [PATCH] Update asset_submissions.py --- files/routes/asset_submissions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/asset_submissions.py b/files/routes/asset_submissions.py index 435258191..5750ae0cf 100644 --- a/files/routes/asset_submissions.py +++ b/files/routes/asset_submissions.py @@ -251,6 +251,7 @@ def approve_hat(v, name): if not description_regex.fullmatch(description): return {"error": "Invalid description!"}, 400 + hat.price = int(request.values.get('price')) hat.name = new_name hat.description = description g.db.add(hat)