Skip to content

Commit

Permalink
Update extra/fuegogin/context.go
Browse files Browse the repository at this point in the history
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
  • Loading branch information
EwenQuim and ccoVeille authored Dec 17, 2024
1 parent 8b68673 commit 1cfcd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/fuegogin/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type contextWithBody[B any] struct {
ginCtx *gin.Context
}

// Body implements fuego.Ctx.
// Body satisfies [fuego.Ctx].
func (c *contextWithBody[B]) Body() (B, error) {
var body B
err := c.ginCtx.Bind(&body)
Expand Down

0 comments on commit 1cfcd77

Please sign in to comment.