refactor: header deletion branch return true When completed

This commit is contained in:
Net 2024-09-23 12:55:18 +07:00
parent cfe33ee154
commit b308d07430

View file

@ -282,7 +282,7 @@ const useBranchStore = defineStore('api-branch', () => {
});
if (!res) return false;
if (res.status === 200) return res.data;
if (res.status < 400) return true;
return false;
}