Skip to content

Commit d250fcb

Browse files
try without !onCancel.isCancelled condition
1 parent 34bc5f5 commit d250fcb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/orkes/request/request.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export const request = <T>(
306306
const body = getRequestBody(options);
307307
const headers = await getHeaders(config, options);
308308

309-
if (!onCancel.isCancelled) {
309+
//if (!onCancel.isCancelled) {
310310
const response = await sendRequest(
311311
options,
312312
url,
@@ -333,7 +333,7 @@ export const request = <T>(
333333
catchErrorCodes(options, result);
334334

335335
resolve(result.body);
336-
}
336+
//}
337337
} catch (error) {
338338
reject(error);
339339
}

0 commit comments

Comments
 (0)