diff --git a/src/stores/branch/index.ts b/src/stores/branch/index.ts index 8afef92f..21817527 100644 --- a/src/stores/branch/index.ts +++ b/src/stores/branch/index.ts @@ -418,8 +418,10 @@ const useBranchStore = defineStore('api-branch', () => { const res = await api.delete(`branch/${branchId}/attachment/${name}`); if (res.status === 204) { - return res.data; + return true; } + + return false; } return {