diff options
Diffstat (limited to 'packages/taler-util/src/http-impl.qtart.ts')
-rw-r--r-- | packages/taler-util/src/http-impl.qtart.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/taler-util/src/http-impl.qtart.ts b/packages/taler-util/src/http-impl.qtart.ts index 65e422168..f60c82fc3 100644 --- a/packages/taler-util/src/http-impl.qtart.ts +++ b/packages/taler-util/src/http-impl.qtart.ts @@ -119,7 +119,6 @@ export class HttpLibImpl implements HttpRequestLibrary { // really support cancellation, so cancellation here just // means that the result is ignored! const { - requestId, promise: fetchProm, cancelFn } = qjsOs.fetchHttp(url, { @@ -139,7 +138,7 @@ export class HttpLibImpl implements HttpRequestLibrary { if (opt?.cancellationToken) { cancelCancelledHandler = opt.cancellationToken.onCancelled(() => { - cancelFn(requestId); + cancelFn(); cancelPromCap.reject(new RequestCancelledError()); }); } |