update error message fasilitas

This commit is contained in:
KhatamNugraha
2023-10-09 18:05:36 +07:00
parent 1a208e6524
commit 8cbb6bc799
2 changed files with 10 additions and 6 deletions

View File

@ -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);
});