fix(api): audit workflow run cancellation

This commit is contained in:
2026-07-20 11:42:31 +01:00
parent 631894084a
commit ff3a94b888
+1
View File
@@ -170,5 +170,6 @@ func cancelRun(c *gin.Context) {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}
services.LogEvent("workflow.run_cancelled", actorFromCtx(c), "", c.Param("runId"), "run cancelled")
c.JSON(http.StatusOK, gin.H{"cancelled": true})
}