Skip to content

Commit

Permalink
docs: edit api name
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-rabello committed Dec 5, 2023
1 parent 426ce2d commit 64655fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/api/openapi/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getReferencePaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 64655fb

Please sign in to comment.