From 51f6041ee45dd6eccef33351c17ee82ef89b6c9b Mon Sep 17 00:00:00 2001 From: Phillip Tarrant Date: Wed, 26 Nov 2025 10:07:35 -0600 Subject: [PATCH] fix(api): remove reference to non-existent TIER_LIMITS attribute The RateLimiterService.__init__ was logging self.TIER_LIMITS which doesn't exist after refactoring to config-based tier limits. Changed to log the existing DM_QUESTION_LIMITS attribute instead. --- api/app/services/rate_limiter_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/services/rate_limiter_service.py b/api/app/services/rate_limiter_service.py index bd62d5c..6f7ecff 100644 --- a/api/app/services/rate_limiter_service.py +++ b/api/app/services/rate_limiter_service.py @@ -107,7 +107,7 @@ class RateLimiterService: logger.info( "RateLimiterService initialized", - tier_limits=self.TIER_LIMITS + dm_question_limits=self.DM_QUESTION_LIMITS ) def _get_daily_key(self, user_id: str, day: Optional[date] = None) -> str: