Skip to content

Commit

Permalink
fix call
Browse files Browse the repository at this point in the history
  • Loading branch information
maximelkin committed Feb 20, 2020
1 parent 1f08f7b commit 6f49b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transaction.js
Expand Up @@ -389,7 +389,7 @@ function completedError(trx, obj) {
// internal transaction resolution promise
availablePromiseMethods().forEach(function(method) {
Transaction.prototype[method] = function() {
return this.promises.library.then()[method].apply(this._promise, arguments);
return this._promise[method](...arguments);
};
});

Expand Down

0 comments on commit 6f49b74

Please sign in to comment.