Skip to content

Commit

Permalink
feat: idk
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyDev24 committed Feb 2, 2025
1 parent e84e663 commit 8a2c0c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/controller/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,13 +560,17 @@ func UpdateTeamRounds(c echo.Context) error {
})
}

logger.Infof("payload is %+v\n", payload)

if err := utils.Validate.Struct(payload); err != nil {
return c.JSON(http.StatusBadRequest, models.Response{
Status: "fail",
Data: utils.FormatValidationErrors(err),
})
}

logger.Infof("team id is %+v\n", payload.TeamId)

ctx := c.Request().Context()

team, err := utils.Queries.GetTeamById(ctx, payload.TeamId)
Expand Down

0 comments on commit 8a2c0c0

Please sign in to comment.