fix: fetch by locale in loyaltyPage
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
|
|
||||||
query GetLoyaltyPage($locale: String!, $url: String!) {
|
query GetLoyaltyPage($locale: String!, $url: String!) {
|
||||||
all_loyalty_page(where: { url: $url, locale: $locale }) {
|
all_loyalty_page(where: { url: $url }, locale: $locale) {
|
||||||
items {
|
items {
|
||||||
blocks {
|
blocks {
|
||||||
__typename
|
__typename
|
||||||
@@ -58,8 +58,6 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
|
|||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
...Image
|
...Image
|
||||||
...LoyaltyPageLink
|
|
||||||
...ContentPageLink
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
totalCount
|
totalCount
|
||||||
@@ -95,8 +93,6 @@ query GetLoyaltyPage($locale: String!, $url: String!) {
|
|||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
...Image
|
...Image
|
||||||
...LoyaltyPageLink
|
|
||||||
...ContentPageLink
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
totalCount
|
totalCount
|
||||||
|
|||||||
Reference in New Issue
Block a user