I have the following bit of code in an Ember component:
markResolved() {
let reportingFailure = this.get('reportingFailure');
reportingFailure.resolvedAt = '2017-01-01';
reportingFailure.save();
}
The HTTP request is firing as expected but the resolved_at
attribute is not getting set.
What do I have to do differently to get the attribute to set?
Aucun commentaire:
Enregistrer un commentaire