merge from main

This commit is contained in:
Kenneth Kehl
2025-01-28 08:45:04 -08:00
3 changed files with 37 additions and 5 deletions

View File

@@ -12,7 +12,6 @@ from app.notifications.process_notifications import (
)
from app.notifications.validators import (
check_if_service_can_send_to_number,
check_rate_limiting,
service_has_permission,
validate_template,
)
@@ -125,8 +124,6 @@ def send_notification(notification_type):
else email_notification_schema
).load(request.get_json())
check_rate_limiting(authenticated_service, api_user)
template, template_with_content = validate_template(
template_id=notification_form["template"],
personalisation=notification_form.get("personalisation", {}),