Skip to content

Commit

Permalink
Don't call coerceId in store#_load
Browse files Browse the repository at this point in the history
  • Loading branch information
Trent Willis committed Oct 26, 2015
1 parent f01bb69 commit 64547e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ember-data/lib/system/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1445,8 +1445,7 @@ Store = Service.extend({
@param {Object} data
*/
_load: function(data) {
var id = coerceId(data.id);
var internalModel = this._internalModelForId(data.type, id);
var internalModel = this._internalModelForId(data.type, data.id);

internalModel.setupData(data);

Expand Down

0 comments on commit 64547e2

Please sign in to comment.