aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/views/endpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'webmentions_ssg/views/endpoint.py')
-rw-r--r--webmentions_ssg/views/endpoint.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/webmentions_ssg/views/endpoint.py b/webmentions_ssg/views/endpoint.py
index 1c2fe13..baab397 100644
--- a/webmentions_ssg/views/endpoint.py
+++ b/webmentions_ssg/views/endpoint.py
@@ -99,8 +99,7 @@ def submit_received(source: str, target: str) -> tuple[uuid.UUID, bool] | None:
@LIMITER.limit(lambda: current_app.config["ENDPOINT_RATE_LIMIT"])
@CSRF.exempt
def endpoint() -> ResponseReturnValue:
- """
- Receive and queue a Webmention for verification.
+ """Receive and queue a Webmention for verification.
Existing Webmentions with the same source and target are reset for
reverification. Concurrent insertion of the same Webmention is handled by
@@ -134,8 +133,7 @@ def endpoint() -> ResponseReturnValue:
@root_page.route("/status/<uuid:identifier>")
def status(identifier: uuid.UUID) -> ResponseReturnValue:
- """
- Display the verification status of a received Webmention.
+ """Display the verification status of a received Webmention.
:param identifier: Identifier of the Webmention to display.
:return: Rendered Webmention status page.