Browse files

Update lib/persistence.sync.server.js

  • Loading branch information...
1 parent 338ab80 commit 028d62c14d1032b090e1038fbbbed8d347106479 @jacobmumm committed Nov 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/persistence.sync.server.js
View
2 lib/persistence.sync.server.js
@@ -97,7 +97,7 @@ exports.pushUpdates = function(session, tx, Entity, since, callback) {
for(var i = 0; i < items.length; i++) {
results.push({id: items[i].id, _removed: true});
}
- if(callback) callback({now: getEpoch(new Date()), updates: results});
+ callback({now: getEpoch(new Date()), updates: results});
});
});
};

0 comments on commit 028d62c

Please sign in to comment.