Skip to content

Commit

Permalink
docs: remove unnecessary on('connected') code
Browse files Browse the repository at this point in the history
Fix #56
  • Loading branch information
vkarpov15 committed Nov 6, 2018
1 parent 2df8c02 commit aa64d19
Show file tree
Hide file tree
Showing 3 changed files with 716 additions and 720 deletions.
4 changes: 0 additions & 4 deletions README.md
Expand Up @@ -45,10 +45,6 @@ var store = new MongoDBStore({
collection: 'mySessions'
});

store.on('connected', function() {
store.client; // The underlying MongoClient object from the MongoDB driver
});

// Catch errors
store.on('error', function(error) {
assert.ifError(error);
Expand Down

0 comments on commit aa64d19

Please sign in to comment.