Structor CSSD

This commit is contained in:
saeid
2019-04-25 20:14:09 +04:30
parent fc162db99b
commit 14a91bdef7
72 changed files with 6957 additions and 4636 deletions
+2 -2
View File
@@ -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;