refactor: edit url deleteAttachment
This commit is contained in:
parent
4b6feae65e
commit
3a1c0aba63
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue