forked from MarseyWorld/MarseyWorld
fix 500 error on granting awards
parent
662a85810c
commit
f79d65973c
|
@ -471,7 +471,7 @@ def admin_userawards_post(v):
|
||||||
award = AwardRelationship(
|
award = AwardRelationship(
|
||||||
user_id=u.id,
|
user_id=u.id,
|
||||||
kind=key,
|
kind=key,
|
||||||
granted=True
|
granted_by=v.id
|
||||||
)
|
)
|
||||||
|
|
||||||
g.db.add(award)
|
g.db.add(award)
|
||||||
|
|
Loading…
Reference in New Issue