make sure all award maximums are in award_count() to provide an easy view of all of them

pull/213/head
Aevann 2023-10-11 19:32:58 +03:00
parent 19754f0213
commit 70f4e4e5ca
1 changed files with 3 additions and 0 deletions

View File

@ -265,6 +265,9 @@ class Post(Base):
if kind in {"gingerbread", "pumpkin"}:
return min(num, 10)
if kind in {"emoji", "emoji-hz"}:
return min(num, 20)
if kind == "stalker":
return min(num, 25)