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 537e250 commit de1a7f3Copy full SHA for de1a7f3
templates/base/http-clients/fetch-http-client.eta
@@ -183,7 +183,7 @@ export class HttpClient<SecurityDataType = unknown> {
183
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
184
...(requestParams.headers || {}),
185
},
186
- signal: cancelToken ? this.createAbortSignal(cancelToken) : void 0,
+ signal: cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal,
187
body: typeof body === "undefined" || body === null ? null : payloadFormatter(body),
188
}
189
).then(async (response) => {
0 commit comments