fix wrong badge order

master
Aevann 2023-07-01 02:10:50 +03:00
parent 3c07d4bcd8
commit cecacc25a4
1 changed files with 2 additions and 2 deletions

View File

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