mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-03 23:21:51 +00:00
Fix pipeline cancel API endpoint and update Web and CLI clients (#1372)
Fixes #1369 Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
@@ -156,7 +156,7 @@ export default defineComponent({
|
||||
// throw new Error('Unexpected: Step not found');
|
||||
// }
|
||||
|
||||
await apiClient.cancelPipeline(repo.value.owner, repo.value.name, parseInt(pipelineId.value, 10), 0);
|
||||
await apiClient.cancelPipeline(repo.value.owner, repo.value.name, parseInt(pipelineId.value, 10));
|
||||
notifications.notify({ title: i18n.t('repo.pipeline.actions.cancel_success'), type: 'success' });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user