Skip to content

Commit

Permalink
Add FF removal comments
Browse files Browse the repository at this point in the history
  • Loading branch information
whabanks committed Oct 21, 2024
1 parent 29de47e commit 7172ad3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/service/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ def create_service():
return jsonify(data=service_schema.dump(valid_service)), 201


# TODO: FF_ANNUAL_LIMIT removal: Temporarily ignore complexity
# flake8: noqa: C901
@service_blueprint.route("/<uuid:service_id>", methods=["POST"])
def update_service(service_id):
req_json = request.get_json()
Expand Down Expand Up @@ -311,6 +313,7 @@ def update_service(service_id):
if not fetched_service.restricted:
_warn_service_users_about_sms_limit_changed(service_id, current_data)

# TODO: FF_ANNUAL_LIMIT removal
if current_app.config["FF_ANNUAL_LIMIT"]:
if sms_annual_limit_changed:
# TODO: Delete cache for sms annual limit (if used)
Expand Down

0 comments on commit 7172ad3

Please sign in to comment.