From 696f82bb56da4f7e289af040a7859cffe5995f79 Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Thu, 2 May 2024 15:46:07 +0200 Subject: [PATCH] fix: fetch content type uid based on lang --- lib/graphql/Query/ContentTypeUid.graphql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/graphql/Query/ContentTypeUid.graphql b/lib/graphql/Query/ContentTypeUid.graphql index 6f8decd84..a675eddb1 100644 --- a/lib/graphql/Query/ContentTypeUid.graphql +++ b/lib/graphql/Query/ContentTypeUid.graphql @@ -1,11 +1,11 @@ query GetContentTypeUid($locale: String!, $url: String!) { - all_content_page(where: { url: $url, locale: $locale }) { + all_content_page(where: { url: $url }, locale: $locale) { total } - all_current_blocks_page(where: { url: $url, locale: $locale }) { + all_current_blocks_page(where: { url: $url }, locale: $locale) { total } - all_loyalty_page(where: { url: $url, locale: $locale }) { + all_loyalty_page(where: { url: $url }, locale: $locale) { total } }