From 64655fb19a5feebe38b217ede3e3a3c13b004a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlia=20Rabello?= <77292838+julia-rabello@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:31:18 -0300 Subject: [PATCH] docs: edit api name --- src/pages/api/openapi/[slug].tsx | 2 +- src/utils/getReferencePaths.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/api/openapi/[slug].tsx b/src/pages/api/openapi/[slug].tsx index 05abe4dd0..77dbdc513 100644 --- a/src/pages/api/openapi/[slug].tsx +++ b/src/pages/api/openapi/[slug].tsx @@ -56,7 +56,7 @@ const referencePaths = objectFlip({ 'VTEX - Promotions & Taxes API - v2': 'promotions-and-taxes-api-v2', 'VTEX - Intelligent Search Events API - Headless': 'intelligent-search-events-api-headless', - 'VTEX - Data Subject Rights API': 'data-subject-rights-api', + 'VTEX - Data Subject Rights': 'data-subject-rights-api', }) function objectFlip(obj: { [x: string]: string }) { diff --git a/src/utils/getReferencePaths.ts b/src/utils/getReferencePaths.ts index fc7f6898a..1200abae6 100644 --- a/src/utils/getReferencePaths.ts +++ b/src/utils/getReferencePaths.ts @@ -69,7 +69,7 @@ const fileSlugMap = { 'VTEX - Promotions & Taxes API - v2': 'promotions-and-taxes-api-v2', 'VTEX - Intelligent Search Events API - Headless': 'intelligent-search-events-api-headless', - 'VTEX - Data Subject Rights API': 'data-subject-rights-api', + 'VTEX - Data Subject Rights': 'data-subject-rights-api', } export default async function getReferencePaths() {