This commit is contained in:
Viet An
2026-07-03 09:24:05 +07:00
parent f519573c19
commit 4404c4654b
22 changed files with 59 additions and 39 deletions

View File

@@ -170,7 +170,7 @@ const handleSave = async () => {
...props.data,
name: templateName.value,
};
response = await $patchapi("Email_Template", patchData);
response = await $patchapi("Email_Template", { data: patchData });
} else {
const insertData = {
...props.data,