mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 07:41:05 +03:30
Structor CSSD
This commit is contained in:
@@ -30,9 +30,9 @@ function errorResponseHandler(error) {
|
||||
}
|
||||
}
|
||||
function successHandler(response) {
|
||||
if(response.data == 200) {
|
||||
if(response.status == 200) {
|
||||
if(typeof response.data.message !== 'undefined') {
|
||||
toast.success(response.data.message);
|
||||
toast.success(response.data.message, response.data.title);
|
||||
}
|
||||
}
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user