mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 18:52:30 -05:00
cleanup
This commit is contained in:
@@ -140,11 +140,7 @@ def send_sms_to_provider(notification):
|
||||
|
||||
cache_key = total_limit_cache_key(service.id)
|
||||
redis_store.incr(cache_key)
|
||||
current_app.logger.info(
|
||||
hilite(
|
||||
f"message count for service {n.service_id} now {redis_store.get(cache_key)}"
|
||||
)
|
||||
)
|
||||
|
||||
return message_id
|
||||
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ def check_service_over_total_message_limit(key_type, service):
|
||||
)
|
||||
)
|
||||
raise TotalRequestsError(service.total_message_limit)
|
||||
|
||||
return int(service_stats)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user