Update lib/adapters/neo4j.js

removing the change to delete the id property in the cleanup since that fails the unit test
This commit is contained in:
Mike P 2012-08-18 11:47:15 -03:00
parent 53831da913
commit df798791fa
1 changed files with 0 additions and 2 deletions

View File

@ -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];