Skip to content

Commit 87913a8

Browse files
committed
fix typo
1 parent e70631e commit 87913a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function spec() {
274274

275275
this.db.on('error', function(err) {
276276
console.log('connection error:' + err);
277-
moogose.disconnect();
277+
mongoose.disconnect();
278278
});
279279

280280
this.db.on('disconnect', function(err) {

0 commit comments

Comments
 (0)