Skip to content

Commit

Permalink
Fix ListJobs response
Browse files Browse the repository at this point in the history
  • Loading branch information
gapidobri committed Feb 6, 2024
1 parent c8e387a commit 75d01d2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions handlers/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,7 @@ func (j *Jobs) ListJobs() gin.HandlerFunc {
return
}

ctx.JSON(http.StatusOK, map[string]interface {
}{
"jobs": jobs,
})
ctx.JSON(http.StatusOK, jobs)

}
}
Expand Down

0 comments on commit 75d01d2

Please sign in to comment.