aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/tasks/notifications.py
diff options
context:
space:
mode:
authorDennis Fink2026-10-25 22:26:40 +0100
committerDennis Fink2026-10-25 22:26:40 +0100
commitce802830c37565d325ba2ecc060443550abb1955 (patch)
treeb2cdf65353b1eb28d2c8d394b0dcd24461c4db6c /webmentions_ssg/tasks/notifications.py
parenta231913ab273f427697f2d27d615b495f6e160bb (diff)
downloadwebmentions-ssg-ce802830c37565d325ba2ecc060443550abb1955.tar.gz
webmentions-ssg-ce802830c37565d325ba2ecc060443550abb1955.zip
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.
Diffstat (limited to 'webmentions_ssg/tasks/notifications.py')
-rw-r--r--webmentions_ssg/tasks/notifications.py2
1 files changed, 1 insertions, 1 deletions
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