Skip to content

Commit

Permalink
bugfix: error in pos message handler
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Sep 7, 2024
1 parent eefaa7a commit 11453bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/webclient/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func getPosHandler(app *App) fiber.Handler {
return func(ctx *fiber.Ctx) error {
pos := make(map[string]float64)

if err := ctx.BodyParser(pos); err != nil {
if err := ctx.BodyParser(&pos); err != nil {
return err
}

Expand Down

0 comments on commit 11453bd

Please sign in to comment.