Skip to content

Commit

Permalink
fix return type when ignoring the reconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
xmaIIoc committed Aug 1, 2019
1 parent d14d76e commit a695d8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@hapiness/mongo",
"version": "2.0.6",
"version": "2.0.7",
"description": "Hapiness Module for MongoDB usage",
"main": "commonjs/index.js",
"types": "index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/module/adapters/hapiness-mongo-adapter.ts
Expand Up @@ -136,7 +136,7 @@ export class HapinessMongoAdapter extends EventEmitter {
this.emit('disconnected', { uri: this._uri });

if (this._isClosed) {
return;
return Observable.of(null);
}

return this
Expand Down

0 comments on commit a695d8e

Please sign in to comment.