From ce802830c37565d325ba2ecc060443550abb1955 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 25 Oct 2026 22:26:40 +0100 Subject: refactor(core): simplify configuration keys Remove the WEBMENTIONS_SSG prefix from application-specific configuration settings and update validators, tasks, and tests to use the shorter names. --- webmentions_ssg/tasks/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webmentions_ssg/tasks/notifications.py') diff --git a/webmentions_ssg/tasks/notifications.py b/webmentions_ssg/tasks/notifications.py index 473216b..04c968a 100644 --- a/webmentions_ssg/tasks/notifications.py +++ b/webmentions_ssg/tasks/notifications.py @@ -16,7 +16,7 @@ from ..models import ReceivedWebmention @huey.task(retries=2, retry_delay=60) def send_webmention_notification(webmention_uuid: uuid.UUID) -> None: """Send an email when a received webmention has been verified.""" - recipient = current_app.config.get("WEBMENTIONS_SSG_NOTIFICATION_EMAIL") + recipient = current_app.config.get("NOTIFICATION_EMAIL") if not recipient: return -- cgit v1.3.1