แก้ deleteBackUp ส่ง name

This commit is contained in:
Net 2024-07-16 15:47:30 +07:00
parent fc1f30b6b4
commit 56c3ca22d7

View file

@ -66,7 +66,7 @@ export const useDataStore = defineStore("systemStore", () => {
showLoader(); showLoader();
await http await http
.delete(config.API.backup + "/delete", { .delete(config.API.backup + "/delete", {
data: { filename: filename }, data: { name: filename },
}) })
.then(async (res) => { .then(async (res) => {
await fetchListBackup(); await fetchListBackup();