fix typo
This commit is contained in:
parent
e70631ee1f
commit
87913a8561
@ -274,7 +274,7 @@ function spec() {
|
|||||||
|
|
||||||
this.db.on('error', function(err) {
|
this.db.on('error', function(err) {
|
||||||
console.log('connection error:' + err);
|
console.log('connection error:' + err);
|
||||||
moogose.disconnect();
|
mongoose.disconnect();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.db.on('disconnect', function(err) {
|
this.db.on('disconnect', function(err) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user