Skip to content

Commit

Permalink
try fix: not found in BanUserForever
Browse files Browse the repository at this point in the history
  • Loading branch information
ppolariss committed Oct 10, 2024
1 parent a39104b commit 36d6ebc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/penalty/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ func BanUser(c *fiber.Ctx) error {
return err
}

log.Info().Msgf("ban user: %v", body)
floorID, err := c.ParamsInt("id")
if err != nil {
return err
}
log.Info().Msgf("ban user: %v", floorID)

// get user
user, err := GetUser(c)
Expand Down

0 comments on commit 36d6ebc

Please sign in to comment.