fix: fix soft budget crossed alert

This commit is contained in:
rasmus.arpe@gmail.com 2025-09-12 11:25:06 +02:00 committed by ruek
parent f8036a25a2
commit a1b339efb5

View file

@ -31,7 +31,7 @@ class SoftBudgetAlert(BaseBudgetAlertType):
return "Soft Budget Crossed: "
def get_id(self, user_info: CallInfo) -> str:
return "default_id"
return user_info.token or "default_id"
class UserBudgetAlert(BaseBudgetAlertType):