changes
This commit is contained in:
@@ -19,7 +19,7 @@ async function submitAddress() {
|
||||
customer: props.customerId,
|
||||
};
|
||||
const res = props.address
|
||||
? await $patchapi("Customer_Address", payload)
|
||||
? await $patchapi("Customer_Address", { data: payload })
|
||||
: await $insertapi("Customer_Address", { data: payload });
|
||||
isLoading.value = false;
|
||||
emit("modalevent", { name: "submit" });
|
||||
|
||||
Reference in New Issue
Block a user