Skip to content

Commit

Permalink
Fix multi-id/preview mode not using context id for api cache calls (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorelli authored Feb 28, 2025
1 parent 989fc69 commit c5a4619
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gitbook/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ async function lookupSiteOrSpaceInMultiIdMode(
pathname: normalizePathname(pathSegments.join('/')),
apiToken,
apiEndpoint,
contextId,
cookies,
};
}
Expand Down

0 comments on commit c5a4619

Please sign in to comment.