Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeschuurmans committed Oct 3, 2024
1 parent 39ed63e commit 1d6488f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/api/v1/conditions/routes/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,10 @@ func (r *Routes) biosControl(c *gin.Context) (int, *v1types.ServerResponse) {

var bctp rctypes.BiosControlTaskParameters
if err = c.ShouldBindJSON(&bctp); err != nil {
r.logger.WithError(err).Warn("unmarshal biosCotnrol payload")
r.logger.WithError(err).Warn("unmarshal biosControl payload")

return http.StatusBadRequest, &v1types.ServerResponse{
Message: "invalid biosCotnrol payload: " + err.Error(),
Message: "invalid biosControl payload: " + err.Error(),
}
}

Expand Down

0 comments on commit 1d6488f

Please sign in to comment.