diff --git a/libs/cms/src/lib/cms.resolver.ts b/libs/cms/src/lib/cms.resolver.ts index 52d9a8f7fd5d..63ad79020440 100644 --- a/libs/cms/src/lib/cms.resolver.ts +++ b/libs/cms/src/lib/cms.resolver.ts @@ -266,7 +266,10 @@ export class CmsResolver { async getServiceWebPage( @Args('input') input: GetServiceWebPageInput, ): Promise { - return this.cmsContentfulService.getServiceWebPage(input.slug, input.lang) + return this.cmsElasticsearchService.getSingleDocumentTypeBySlug( + getElasticsearchIndex(input.lang), + { type: 'webServiceWebPage', slug: input.slug }, + ) } @CacheControl(defaultCache)