Fix fulfill non shippable gift cards option not being used in update mutation (#1465)
This commit is contained in:
parent
bb752d3bad
commit
547f5f7c3e
1 changed files with 2 additions and 0 deletions
|
@ -24,12 +24,14 @@ export const OrderSettings: React.FC = () => {
|
||||||
|
|
||||||
const handleSubmit = async ({
|
const handleSubmit = async ({
|
||||||
automaticallyConfirmAllNewOrders,
|
automaticallyConfirmAllNewOrders,
|
||||||
|
automaticallyFulfillNonShippableGiftCard,
|
||||||
fulfillmentAutoApprove,
|
fulfillmentAutoApprove,
|
||||||
fulfillmentAllowUnpaid
|
fulfillmentAllowUnpaid
|
||||||
}: OrderSettingsFormData) => {
|
}: OrderSettingsFormData) => {
|
||||||
const result = await orderSettingsUpdate({
|
const result = await orderSettingsUpdate({
|
||||||
variables: {
|
variables: {
|
||||||
orderSettingsInput: {
|
orderSettingsInput: {
|
||||||
|
automaticallyFulfillNonShippableGiftCard,
|
||||||
automaticallyConfirmAllNewOrders
|
automaticallyConfirmAllNewOrders
|
||||||
},
|
},
|
||||||
shopSettingsInput: {
|
shopSettingsInput: {
|
||||||
|
|
Loading…
Reference in a new issue