From f79d65973ce758687d822a28086dff41bef9fc1e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 21 Sep 2022 20:53:42 +0200 Subject: [PATCH] fix 500 error on granting awards --- files/routes/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 6db3f1cf54..2fb34ecf8c 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -471,7 +471,7 @@ def admin_userawards_post(v): award = AwardRelationship( user_id=u.id, kind=key, - granted=True + granted_by=v.id ) g.db.add(award)