Skip to content

Commit

Permalink
Merge pull request #1926 from jbrumwell/patch-1
Browse files Browse the repository at this point in the history
Pass proper context
  • Loading branch information
ricardograca committed Dec 17, 2018
2 parents cb1093b + e7ddf72 commit 68e8537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bookshelf.js
Expand Up @@ -232,7 +232,7 @@ function Bookshelf(knex) {
* Bookshelf~transactionCallback transactionCallback}.
*/
transaction() {
return this.knex.transaction.apply(this, arguments);
return this.knex.transaction.apply(this.knex, arguments);
},

/**
Expand Down

0 comments on commit 68e8537

Please sign in to comment.