Skip to content

Commit

Permalink
Remove FF for updating annual limits (#2014)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbahrai authored Dec 6, 2024
1 parent b5a3ea6 commit d7f02c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/notify_client/service_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from flask import current_app
from flask_login import current_user
from notifications_utils.decorators import requires_feature

from app.extensions import redis_client
from app.notify_client import NotifyAdminAPIClient, _attach_current_user, cache
Expand Down Expand Up @@ -168,15 +167,13 @@ def update_sms_message_limit(self, service_id, sms_daily_limit):
sms_daily_limit=sms_daily_limit,
)

@requires_feature("FF_ANNUAL_LIMIT") # TODO: FF_ANNUAL_LIMIT removal
@cache.delete("service-{service_id}")
def update_sms_annual_limit(self, service_id, sms_annual_limit):
return self.update_service(
service_id,
sms_annual_limit=sms_annual_limit,
)

@requires_feature("FF_ANNUAL_LIMIT") # TODO: FF_ANNUAL_LIMIT removal
@cache.delete("service-{service_id}")
def update_email_annual_limit(self, service_id, email_annual_limit):
return self.update_service(
Expand Down

0 comments on commit d7f02c0

Please sign in to comment.