update error message fasilitas
This commit is contained in:
@ -349,7 +349,7 @@
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
// Handle error response (if applicable)
|
||||
var errors = data.responseJSON.errors;
|
||||
var errors = xhr.responseJSON.errors;
|
||||
$.each(errors, function(key, value) {
|
||||
toastr.error(value);
|
||||
});
|
||||
|
Reference in New Issue
Block a user