I am using
DEBUG: -------------------------------
DEBUG: Ember : 1.12.1
DEBUG: Ember Data : 1.13.4
DEBUG: jQuery : 2.1.4
DEBUG: -------------------------------
My server API replies to PUT request with just an ID of updated object, example of this response:
{
data:[123],
meta{total:1},
errors:[]
}
How to change ember-data configuration to allow such an object? AFAIK ember-data expects whole sent object in a response. Thanks
Aucun commentaire:
Enregistrer un commentaire