fix: fetch content type uid based on lang
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
query GetContentTypeUid($locale: String!, $url: String!) {
|
query GetContentTypeUid($locale: String!, $url: String!) {
|
||||||
all_content_page(where: { url: $url, locale: $locale }) {
|
all_content_page(where: { url: $url }, locale: $locale) {
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
all_current_blocks_page(where: { url: $url, locale: $locale }) {
|
all_current_blocks_page(where: { url: $url }, locale: $locale) {
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
all_loyalty_page(where: { url: $url, locale: $locale }) {
|
all_loyalty_page(where: { url: $url }, locale: $locale) {
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user