forked from MarseyWorld/MarseyWorld
fix wrong badge order
parent
3c07d4bcd8
commit
cecacc25a4
|
@ -167,8 +167,8 @@ def approve_emoji(v, name):
|
|||
elif emoji.kind == "Carp":
|
||||
all_by_author = g.db.query(Emoji).filter_by(kind="Carp", author_id=author.id).count()
|
||||
if all_by_author >= 10:
|
||||
badge_grant(badge_id=287, user=author)
|
||||
badge_grant(badge_id=288, user=author)
|
||||
badge_grant(badge_id=288, user=author)
|
||||
badge_grant(badge_id=287, user=author)
|
||||
elif emoji.kind == "Wolf":
|
||||
all_by_author = g.db.query(Emoji).filter_by(kind="Wolf", author_id=author.id).count()
|
||||
if all_by_author >= 10:
|
||||
|
|
Loading…
Reference in New Issue