New rank and score calculation
This commit is contained in:
parent
80d06f237c
commit
37310e41f5
3 changed files with 14 additions and 16 deletions
|
|
@ -50,7 +50,8 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
|
|||
} else {
|
||||
ret.Name = t.Name
|
||||
ret.Id = t.Id
|
||||
ret.Points, _ = t.GetPoints()
|
||||
points, _ := t.GetPoints()
|
||||
ret.Points = int64(points)
|
||||
if members, err := t.GetMembers(); err == nil {
|
||||
ret.Members = members
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue