diff --git a/packages/core/src/server/cms/index.ts b/packages/core/src/server/cms/index.ts index 3d5033fb82..1a52f62bc5 100644 --- a/packages/core/src/server/cms/index.ts +++ b/packages/core/src/server/cms/index.ts @@ -71,7 +71,7 @@ export const getCMSPage = async ( extraOptions?: ExtraOptions ) => { const cmsClient = extraOptions?.cmsClient ?? clientCMS - const cache = extraOptions.cache ?? getCMSPageCache + const cache = extraOptions?.cache ?? getCMSPageCache if (isLocator(options)) { return await cmsClient