• erio's avatar
    fix(notify): use real-time balance for crossing detection and simplify email logic · 31550a2c
    erio authored
    - Fix cached balance causing threshold crossing to never trigger:
      read real-time balance from billingCacheService instead of stale
      API key auth snapshot
    - Remove email="" placeholder concept; all emails are user-managed
    - Only send notifications to verified && non-disabled emails
    - Frontend: pre-fill user's email in add input when list is empty
    - Remove FilterEnabledEmails/IsPrimaryDisabled helpers (no longer needed)
    31550a2c
balance_notify_service.go 14.2 KB