Skip to content

Commit 7caf556

Browse files
committed
fix: await handleRequestDataEvents in cancelRequest method
1 parent eff13c4 commit 7caf556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/request-client.js/src/api/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export default class Request {
240240
};
241241

242242
const cancelResult = await this.requestLogic.cancelRequest(parameters, signerIdentity, true);
243-
const result = this.handleRequestDataEvents(cancelResult);
243+
const result = await this.handleRequestDataEvents(cancelResult);
244244

245245
// Generate allowance revocation calldata if payer is canceling a recurring payment
246246
let allowanceRevocationCalldata: string | undefined;

0 commit comments

Comments
 (0)