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