[solved] findRecord then not waiting for resolve


I have a findRecord method with the json api convention that looks like this:

this.store.findRecord('book', 2).then((book) =>{

The console log is always printing undefined, but the name value is actually beeing send. book only returns the id and nothing more. I tested with Ember.$ ajax and I got everything. The model structure is also correct.

Is this the normal behavior? This is driving me mad for hours… Thanks.

EDIT: http://stackoverflow.com/questions/39899302/emberjs-findrecord-then-not-waiting-for-resolve