We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6af009 commit ea6bdaaCopy full SHA for ea6bdaa
lib/txn.js
@@ -112,7 +112,7 @@ var Txn = (function () {
112
_a.label = 4;
113
case 4:
114
_a.trys.push([4, 6, , 7]);
115
- return [4, this.discard()];
+ return [4, this.discard(metadata, options)];
116
case 5:
117
_a.sent();
118
return [3, 7];
src/txn.ts
@@ -117,7 +117,7 @@ export class Txn {
// mutations could have applied but not others, but we don't know which ones).
// Discarding the transaction enforces that the user cannot use the txn further.
119
try {
120
- await this.discard();
+ await this.discard(metadata, options);
121
} catch (e) {
122
// Ignore error - user should see the original error.
123
}
0 commit comments