chore: create/update state duplicate name error (#870)
This commit is contained in:
parent
fa5c994ddc
commit
acff6396f9
4 changed files with 56 additions and 31 deletions
|
|
@ -22,7 +22,7 @@ class ProjectStateServices extends APIService {
|
|||
return response?.data;
|
||||
})
|
||||
.catch((error) => {
|
||||
throw error?.response?.data;
|
||||
throw error?.response;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ class ProjectStateServices extends APIService {
|
|||
return response?.data;
|
||||
})
|
||||
.catch((error) => {
|
||||
throw error?.response?.data;
|
||||
throw error?.response;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue