From 02a694869af0452087c51b0e2b617f3b1212eeec Mon Sep 17 00:00:00 2001 From: Ludovic HOCHET Date: Fri, 10 Nov 2023 13:29:32 +0100 Subject: [PATCH] Update the end point url on emails.md (#1334) /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 747662a..b73db71 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" >}}