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() {