forked from MarseyWorld/MarseyWorld
Add badge for Checkmark award users.
parent
0fc646967f
commit
33815d8365
|
@ -296,6 +296,7 @@ def award_thing(v, thing_type, id):
|
|||
badge_grant(user=author, badge_id=128)
|
||||
elif kind == "checkmark":
|
||||
author.verified = "Verified"
|
||||
badge_grant(user=author, badge_id=150)
|
||||
|
||||
if author.received_award_count: author.received_award_count += 1
|
||||
else: author.received_award_count = 1
|
||||
|
|
Loading…
Reference in New Issue