Skip to content

Commit c5a4619

Browse files
authored
Fix multi-id/preview mode not using context id for api cache calls (#2905)
1 parent 989fc69 commit c5a4619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gitbook/src/middleware.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ async function lookupSiteOrSpaceInMultiIdMode(
579579
pathname: normalizePathname(pathSegments.join('/')),
580580
apiToken,
581581
apiEndpoint,
582+
contextId,
582583
cookies,
583584
};
584585
}

0 commit comments

Comments
 (0)