fix: improve work name management and validation logic
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
puriphatt 2025-05-22 16:35:58 +07:00
parent cd86e7718a
commit de281ea79f
4 changed files with 28 additions and 22 deletions

View file

@ -441,7 +441,7 @@ const useProductServiceStore = defineStore('api-product-service', () => {
...payload,
});
if (res && res.status < 200) {
if (res && res.status < 400) {
await fetchListOfWork();
return res.data;
}