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
This commit is contained in:
parent
10ee12b62a
commit
02a694869a
|
@ -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" >}}
|
||||
{{< 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" >}}
|
||||
|
|
Loading…
Reference in New Issue