diff --git a/packages/marko-web-theme-monorail/components/blocks/most-popular-list.marko b/packages/marko-web-theme-monorail/components/blocks/most-popular-list.marko index 95b54c918..372be2a19 100644 --- a/packages/marko-web-theme-monorail/components/blocks/most-popular-list.marko +++ b/packages/marko-web-theme-monorail/components/blocks/most-popular-list.marko @@ -12,7 +12,7 @@ $ const getMostPopular = async () => { const uri = MOST_POPULAR_API_URI || 'https://most-popular-content.base.parameter1.com'; const tenant = site.get("p1events.tenant"); const realm = config.website("id"); - const contentTypes = getAsArray(input, 'input.includeContentTypes'); + const contentTypes = getAsArray(input, 'includeContentTypes'); const defaultUrl = `${uri}/retrieve?tenant=${tenant}&realm=${realm}`; const url = contentTypes.length ? `${defaultUrl}&types=${contentTypes.join(',')}` : defaultUrl; diff --git a/packages/marko-web-theme-monorail/components/blocks/most-popular.marko b/packages/marko-web-theme-monorail/components/blocks/most-popular.marko index 41b33c306..3a5e41237 100644 --- a/packages/marko-web-theme-monorail/components/blocks/most-popular.marko +++ b/packages/marko-web-theme-monorail/components/blocks/most-popular.marko @@ -13,7 +13,7 @@ $ const getMostPopular = async () => { const uri = MOST_POPULAR_API_URI || 'https://most-popular-content.base.parameter1.com'; const tenant = site.get("p1events.tenant"); const realm = config.website("id"); - const contentTypes = getAsArray(input, 'input.includeContentTypes'); + const contentTypes = getAsArray(input, 'includeContentTypes'); const defaultUrl = `${uri}/retrieve?tenant=${tenant}&realm=${realm}`; const url = contentTypes.length ? `${defaultUrl}&types=${contentTypes.join(',')}` : defaultUrl;