You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also created a PR for that: #30 , but just in case:
under the ajaxError function you've checked the data.errors, but sails response is with data.error not errors, so it never entered that place and just throw a new Error(data) instead. Same happened in the processRequest function where you did use the isErrorObject function, but then checked again for that .errors property that doesn't exists.
Here is the response I for from the server:
As you can see, no errors property
I'm using sails 11.2 with sanestack if that matters.
Thanks,
Dan
The text was updated successfully, but these errors were encountered:
Hey.
I've also created a PR for that: #30 , but just in case:
under the ajaxError function you've checked the data.errors, but sails response is with data.error not errors, so it never entered that place and just throw a new Error(data) instead. Same happened in the processRequest function where you did use the isErrorObject function, but then checked again for that .errors property that doesn't exists.
Here is the response I for from the server:
As you can see, no errors property
I'm using sails 11.2 with sanestack if that matters.
Thanks,
Dan
The text was updated successfully, but these errors were encountered: