From 42a98ea4cbd832854b29081d4d0a7ab64d22fa4b Mon Sep 17 00:00:00 2001 From: Ludovic HOCHET Date: Thu, 9 Nov 2023 22:52:01 +0100 Subject: [PATCH] Update the end point url on emails.md /api/v1/emails/confirmation should be /api/v1/emails/confirmations (with an ending s) otherwise a 404 is returned --- content/en/methods/emails.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/methods/emails.md b/content/en/methods/emails.md index 747662ab..b73db712 100644 --- a/content/en/methods/emails.md +++ b/content/en/methods/emails.md @@ -21,7 +21,7 @@ aliases: [ ## Resend confirmation email {#confirmation} ```http -POST /api/v1/emails/confirmation HTTP/1.1 +POST /api/v1/emails/confirmations HTTP/1.1 ``` **Returns:** Empty object\ @@ -73,4 +73,4 @@ Alternatively, the user has already confirmed their email. {{< page-relref ref="methods/accounts#create" caption="POST /api/v1/accounts" >}} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/emails/confirmations_controller.rb" caption="app/controllers/api/v1/emails/confirmations_controller.rb" >}} \ No newline at end of file +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/emails/confirmations_controller.rb" caption="app/controllers/api/v1/emails/confirmations_controller.rb" >}}