Skip to content

Commit b73ec55

Browse files
allow passing a signal to actions
1 parent 261ce2a commit b73ec55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/oc-client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ export function createOc(oc) {
284284
method: "POST",
285285
headers: headers,
286286
body: JSON.stringify(data),
287+
signal: options.signal,
287288
})
288289
.then(handleFetchResponse)
289290
.then((apiResponse) => {

0 commit comments

Comments
 (0)