remotes/1693045480750635534/spooky-22
Aevann1 2022-01-02 19:13:21 +02:00
parent bdd9339976
commit 20c3bf0185
1 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ def award_post(pid, v):
AwardRelationship.user_id == v.id,
AwardRelationship.kind == kind
)
).one_or_none()
).first()
post_award.submission_id = post.id
g.db.add(post_award)
@ -390,7 +390,7 @@ def award_comment(cid, v):
AwardRelationship.user_id == v.id,
AwardRelationship.kind == kind
)
).one_or_none()
).first()
comment_award.comment_id = c.id
g.db.add(comment_award)