From 7fc8f6dd3cd7a800171b2b07efcc359bc5bac8d9 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 15 Sep 2021 13:46:55 -0400 Subject: [PATCH] docs: corrects refresh-token rest route --- docs/authentication/operations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/authentication/operations.mdx b/docs/authentication/operations.mdx index e2b11beda9..cd79405034 100644 --- a/docs/authentication/operations.mdx +++ b/docs/authentication/operations.mdx @@ -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',