update models to use uuid referencing
Some checks failed
Release and Deploy / build (push) Failing after 6m58s
Release and Deploy / deploy (push) Has been skipped

This commit is contained in:
2026-03-01 16:46:06 +01:00
parent 35c53cc54c
commit cf7473b373
4 changed files with 49 additions and 229 deletions

View File

@@ -55,7 +55,7 @@ func (lc *LeaderboardController) Update(c *fiber.Ctx) error {
return lc.errorHandler.HandleUUIDError(c, "server ID")
}
var input model.LeaderboardInput
var input model.Leaderboard
if err := c.BodyParser(&input); err != nil {
return lc.errorHandler.HandleParsingError(c, err)
}