fix: fetch content type uid based on lang

This commit is contained in:
Christel Westerberg
2024-05-02 15:46:07 +02:00
parent 4ef48bb0cd
commit 696f82bb56

View File

@@ -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
}
}