Return more data per player on listing all players

This commit is contained in:
2024-10-30 15:47:33 +01:00
parent 460503ba4a
commit 385b22d4e4
5 changed files with 63 additions and 6 deletions

View File

@@ -8,9 +8,11 @@ type (
Name string `json:"name"`
}
Player struct {
ID int64 `json:"id"`
Name string `json:"name"`
Guild Guild `json:"guild,omitempty"`
ID int64 `json:"id"`
Name string `json:"name"`
Guild Guild `json:"guild,omitempty"`
Notes int `json:"notes"`
Associations int `json:"associations"`
}
Association struct {
ID int64 `json:"id"`