fix 500 error

master
Aevann 2023-05-15 01:28:40 +03:00
parent f69d73d82d
commit 7251442a9d
1 changed files with 2 additions and 2 deletions

View File

@ -1002,8 +1002,8 @@ class User(Base):
@property
@lazy
def patron_tooltip(self):
tier_name = TIER_TO_NAME(self.patron)
tier_money = TIER_TO_MONEY(self.patron)
tier_name = TIER_TO_NAME[self.patron]
tier_money = TIER_TO_MONEY[self.patron]
return f'{tier_name} - Donates at least ${tier_money}/month'
@classmethod