Commit 6788a937 authored by Miklós Tóth's avatar Miklós Tóth 🤷
Browse files

Lacko fix

parent 5dcb21b1
Pipeline #8890 passed with stages
in 1 minute and 11 seconds
......@@ -20,7 +20,7 @@ type VoteMsg struct {
type TeamScores struct {
Round int
Groups []struct {
Id string `binding:"required"`
UUID string `binding:"required"`
Score int `binding:"required"`
}
}
......@@ -64,7 +64,7 @@ func scoreSender(c *gin.Context) {
return
}
for _, g := range scores.Groups {
s, ok := socketsByTeams[g.Id]
s, ok := socketsByTeams[g.UUID]
if !ok {
continue
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment