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 ({
|
||||
automaticallyConfirmAllNewOrders,
|
||||
automaticallyFulfillNonShippableGiftCard,
|
||||
fulfillmentAutoApprove,
|
||||
fulfillmentAllowUnpaid
|
||||
}: OrderSettingsFormData) => {
|
||||
const result = await orderSettingsUpdate({
|
||||
variables: {
|
||||
orderSettingsInput: {
|
||||
automaticallyFulfillNonShippableGiftCard,
|
||||
automaticallyConfirmAllNewOrders
|
||||
},
|
||||
shopSettingsInput: {
|
||||
|
|
Loading…
Reference in a new issue