Skip to content

Commit 8bd3d5e

Browse files
committed
Remove optional flag from billing address fields and correct parameter order in pickup points query
1 parent 5c48cd9 commit 8bd3d5e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/afosto/actions/add-information-to-cart/add-information-to-cart.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ export default {
168168
type: "string",
169169
label: "Billing Country Code",
170170
description: "The country code of the billing address",
171-
optional: true,
172171
},
173172
billingLocality: {
174173
type: "string",
@@ -186,7 +185,6 @@ export default {
186185
type: "string",
187186
label: "Billing Postal Code",
188187
description: "The postal code of the billing address",
189-
optional: true,
190188
},
191189
billingAddressLine1: {
192190
type: "string",
@@ -419,7 +417,7 @@ export default {
419417
options {
420418
shipping {
421419
methods {
422-
pickup_points(postal_code: $countryCode, country_code: $postalCode) {
420+
pickup_points(postal_code: $postalCode, country_code: $countryCode) {
423421
id
424422
name
425423
carrier

0 commit comments

Comments
 (0)