jeudi 26 janvier 2017

Ember incrementProperty throws "cannot convert object to primitive value"

When telling the store to update a record, I get the error: cannot convert object to primitive value

Here is my code, in the route:

this.store.findRecord('track', trackID).then((track) => {
    track.incrementProperty('progress');
});




Aucun commentaire:

Enregistrer un commentaire