fix: allow cancel jobs in repl

This commit is contained in:
dieriba
2025-06-05 19:50:44 +02:00
committed by GitHub
parent ea5a342b3d
commit 864202d798
@@ -146,12 +146,12 @@
async function cancelJob(jobId: string) {
try {
await JobService.cancelQueuedJob({
workspace: $workspaceStore! ?? '',
workspace: $workspaceStore!,
id: jobId,
requestBody: {}
})
} catch (err) {
sendUserToast(err.BodyDropPivotTarget, true)
sendUserToast(err.body || err.message, true)
}
}