Skip to content

Commit bf3e9be

Browse files
committed
fix(tmongodbplugin): add missing return this in addSchema method
1 parent 5c8ad30 commit bf3e9be

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sources/mongodb/TMongoDBPlugin.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class TMongoDBPlugin extends TAbstractDatabasePlugin {
2828
}
2929

3030
addSchema( value ) {
31+
3132
this._schemas.push(value)
33+
return this
34+
3235
}
3336

3437
get types () {

0 commit comments

Comments
 (0)