Skip to content

Commit de1a7f3

Browse files
authored
Update fetch-http-client.eta (#329)
1 parent 537e250 commit de1a7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/http-clients/fetch-http-client.eta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export class HttpClient<SecurityDataType = unknown> {
183183
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
184184
...(requestParams.headers || {}),
185185
},
186-
signal: cancelToken ? this.createAbortSignal(cancelToken) : void 0,
186+
signal: cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal,
187187
body: typeof body === "undefined" || body === null ? null : payloadFormatter(body),
188188
}
189189
).then(async (response) => {

0 commit comments

Comments
 (0)