diff --git a/routers/repo/aisafety.go b/routers/repo/aisafety.go index 293b90257..e6d8cb56c 100644 --- a/routers/repo/aisafety.go +++ b/routers/repo/aisafety.go @@ -192,6 +192,7 @@ func StopAiSafetyTask(ctx *context.Context) { log.Info("The job is finished. status=" + task.Status) } } + result["result_code"] = 0 result["msg"] = "succeed" ctx.JSON(200, result)