fix: fix soft budget crossed alert
This commit is contained in:
parent
f8036a25a2
commit
a1b339efb5
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user