diff --git a/lib/adapters/neo4j.js b/lib/adapters/neo4j.js index e832d8f8..b75c718a 100644 --- a/lib/adapters/neo4j.js +++ b/lib/adapters/neo4j.js @@ -343,8 +343,6 @@ Neo4j.prototype.updateAttributes = function updateAttributes(model, id, data, cb function cleanup(data) { if (!data) return null; - //don't save an id property on update since there is already a node id from neo4j - delete data.id; var res = {}; Object.keys(data).forEach(function (key) { var v = data[key];