diff --git a/addon/serializers/json-serializer.js b/addon/serializers/json-serializer.js index 625f12cfff7..22552cf1b98 100644 --- a/addon/serializers/json-serializer.js +++ b/addon/serializers/json-serializer.js @@ -740,19 +740,6 @@ export default Serializer.extend({ } }, - /** - @method normalizeId - @private - */ - normalizeId: function(hash) { - var primaryKey = get(this, 'primaryKey'); - - if (primaryKey === 'id') { return; } - - hash.id = hash[primaryKey]; - delete hash[primaryKey]; - }, - /** Looks up the property key that was set by the custom `attr` mapping passed to the serializer.