diff options
| author | Dennis Fink | 2026-10-25 22:26:40 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-10-25 22:26:40 +0100 |
| commit | ce802830c37565d325ba2ecc060443550abb1955 (patch) | |
| tree | b2cdf65353b1eb28d2c8d394b0dcd24461c4db6c /webmentions_ssg/tasks/notifications.py | |
| parent | a231913ab273f427697f2d27d615b495f6e160bb (diff) | |
| download | webmentions-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 '')
| -rw-r--r-- | webmentions_ssg/tasks/notifications.py | 2 |
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 |
