// UpdateJobStatus handles updating a job status
UpdateJobStatus handles updating a job status
// UpdateJobStatus handles updating a job status
func UpdateJobStatus(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
	request := uc.UpdateJobStatusRequest{}
	err := ReadJSON(r.Body, &request)
	if err != nil {
		respondError(w, err)
	}
	request.Name = ps.ByName("name")
	response, err := uc.UpdateJobStatus(request)
	respond(w, response, err)
}
func UpdateJobStatus ( w http . ResponseWriter , r * http . Request , ps httprouter . Params ) { request := uc . UpdateJobStatusRequest { } err := ReadJSON ( r . Body , & request ) if err != nil { respondError ( w , err ) } request . Name = ps . ByName ( " " ) response , err := uc . UpdateJobStatus ( request ) respond ( w , response , err ) }
UpdateJobStatus handles updating a job status
UpdateJobStatus handles updating a job status