Skip to content

Commit

Permalink
Update packages/@ama-sdk/core/src/plugins/timeout/timeout.fetch.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaulve-1A committed Dec 4, 2023
1 parent 15fe5aa commit fb6c2a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class TimeoutFetch implements FetchPlugin {

try {
const response = await fetchCall;
if (!context.controller!.signal.aborted) {
if (!context.controller?.signal.aborted) {
resolve(response);
}
} catch (ex) {
Expand Down

0 comments on commit fb6c2a9

Please sign in to comment.