docs: corrects refresh-token rest route
This commit is contained in:
@@ -194,7 +194,7 @@ If successful, this operation will automatically renew the user's HTTP-only cook
|
||||
|
||||
**Example REST API token refresh**:
|
||||
```js
|
||||
const res = await fetch('http://localhost:3000/api/[collection-slug]/refresh', {
|
||||
const res = await fetch('http://localhost:3000/api/[collection-slug]/refresh-token', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user