Skip to content

Commit

Permalink
switching bulk terminate to post
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindanr committed Jul 2, 2021
1 parent 11570c2 commit 56c8902
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ui/src/api/wfe.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ router.post('/bulk/restart_with_current_definition', async (req, res, next) => {
} catch (err) {
next(err);
}
})
});

router.post('/bulk/terminate', async (req, res, next) => {
try {
const result = await http.delete(baseURL2 + "bulk/terminate", req.body, req.token);
const result = await http.post(baseURL2 + "bulk/terminate", req.body, req.token);
res.status(200).send(result);
} catch (err) {
next(err);
Expand All @@ -225,7 +225,6 @@ router.delete('/terminate/:workflowId', async (req, res, next) => {
const result = await http.delete(baseURL2 + req.params.workflowId, {}, req.token);
res.status(200).send({ result: req.params.workflowId });
} catch (err) {

next(err);
}
});
Expand Down

0 comments on commit 56c8902

Please sign in to comment.