Commit 6f3e597c authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

fix check resp

parent 6ef9be76
......@@ -87,6 +87,7 @@ func checkTask(c *gin.Context) {
if status == constant.TaskHistoryStatusRetry {
c.JSON(200, withSuccess(gin.H{"status": status, "msg": "The task is not completed, please try again."}))
return
}
c.JSON(200, withSuccess(gin.H{"status": status}))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment