Skip to content

Commit

Permalink
fix breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Oct 4, 2024
1 parent 6397cc6 commit 2fbb611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/fdr-sdk/src/navigation/utils/followRedirect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export function followRedirect(
return followRedirect([...nodeToFollow.children].sort(defaultFirst)[0]);
case "apiReference":
case "apiPackage":
case "changelogMonth": // note: changelog month nodes don't exist yet as pages
case "changelogYear": // note: changelog month nodes don't exist yet as pages
case "endpointPair":
case "product":
case "root":
Expand Down
4 changes: 2 additions & 2 deletions packages/fdr-sdk/src/navigation/versions/latest/getPageId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function getPageId(node: NavigationNodePage): PageId | undefined {
endpoint: RETURN_UNDEFINED,
webSocket: RETURN_UNDEFINED,
webhook: RETURN_UNDEFINED,
changelogYear: RETURN_UNDEFINED,
changelogMonth: RETURN_UNDEFINED,
// changelogYear: RETURN_UNDEFINED,
// changelogMonth: RETURN_UNDEFINED,
});
}

0 comments on commit 2fbb611

Please sign in to comment.