fix 500 error on granting awards

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-21 20:53:42 +02:00
parent 662a85810c
commit f79d65973c
1 changed files with 1 additions and 1 deletions

View File

@ -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)