Browse files

correct mongoDb storage because of mongodb driver no insertAll functi…

…on anymore use directly insert
  • Loading branch information...
1 parent d9d329d commit 01c082681dcebc63bc01947f6a05cf51d586627e @adrai committed Feb 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 storage/mongoDb/storage.js
View
2 storage/mongoDb/storage.js
@@ -73,7 +73,7 @@ Storage.prototype = {
for(var i in events) {
events[i]._id = events[i].commitId;
}
- this.events.insertAll(events, {keepGoing: true}, callback);
+ this.events.insert(events, {keepGoing: true}, callback);
},
// __addSnapshot:__ stores the snapshot

0 comments on commit 01c0826

Please sign in to comment.