Skip to content

Commit

Permalink
fix: unmarshaling typo
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Jul 3, 2024
1 parent c6c4c5c commit dbe6284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/api/v1/testworkflowtemplates.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (s *TestkubeAPI) CreateTestWorkflowTemplateHandler() fiber.Handler {
}
} else {
var v *testkube.TestWorkflowTemplate
err = c.BodyParser(&obj)
err = c.BodyParser(&v)
if err != nil {
return s.BadRequest(c, errPrefix, "invalid body", err)
}
Expand Down

0 comments on commit dbe6284

Please sign in to comment.