Skip to content

Commit

Permalink
fix(tmongodbplugin): add missing return this in addSchema method
Browse files Browse the repository at this point in the history
  • Loading branch information
Itee committed Aug 13, 2019
1 parent 5c8ad30 commit bf3e9be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sources/mongodb/TMongoDBPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ class TMongoDBPlugin extends TAbstractDatabasePlugin {
}

addSchema( value ) {

this._schemas.push(value)
return this

}

get types () {
Expand Down

0 comments on commit bf3e9be

Please sign in to comment.