docs: corrects refresh-token rest route

This commit is contained in:
James
2021-09-15 13:46:55 -04:00
parent 02e7fe3f1f
commit 7fc8f6dd3c

View File

@@ -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',