Adjust for new naming conventions
This commit is contained in:
@@ -79,11 +79,6 @@ export default Service.extend({
|
||||
debug('[kredits] build', name, attributes);
|
||||
let model = getOwner(this).lookup(`model:${name}`);
|
||||
|
||||
// coerce id to string
|
||||
if (attributes.id) {
|
||||
attributes.id = attributes.id.toString();
|
||||
}
|
||||
|
||||
model.setProperties(attributes);
|
||||
return model;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user