diff --git a/src/stores/customer/index.ts b/src/stores/customer/index.ts index 70944cd2..939460ed 100644 --- a/src/stores/customer/index.ts +++ b/src/stores/customer/index.ts @@ -231,7 +231,7 @@ const useCustomerStore = defineStore('api-customer', () => { async function deleteAttachment(id: string, filename: string) { const res = await api.delete( - `/customer-branch/${id}/attachment/{${filename}}`, + `/customer-branch/${id}/attachment/${filename}`, ); if (res.status >= 400) return false;