I would like to do some complex parsing of my API response for errors and return the errors in the response. I would like to overwrite the response from Ember.$.ajax to add some information.
Ember.$.ajax(...).then(function (response) { response.errors // custom errors attribute });
If you have another suggestion to do the same, please let me know. Thanks!
Aucun commentaire:
Enregistrer un commentaire