Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: yxxhero <[email protected]>
  • Loading branch information
yxxhero committed Apr 16, 2022
1 parent f0f8dcd commit 926c377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/handlers/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (h *Handlers) CreateJob(ctx *gin.Context) {

// ctx.JSON(http.StatusOK, job)
ctx.JSON(http.StatusOK, gin.H{
"tesk_id": job.TaskID,
"task_id": job.TaskID,
})
default:
ctx.JSON(http.StatusUnprocessableEntity, gin.H{"errors": "Unknow type"})
Expand Down

0 comments on commit 926c377

Please sign in to comment.