aboutsummaryrefslogtreecommitdiff
path: root/backend/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/models/models.go')
-rw-r--r--backend/models/models.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/models/models.go b/backend/models/models.go
index e5d92fb..8e16c1c 100644
--- a/backend/models/models.go
+++ b/backend/models/models.go
@@ -78,8 +78,9 @@ type MapRecords struct {
78} 78}
79 79
80type UserRanking struct { 80type UserRanking struct {
81 User UserShort `json:"user"` 81 Placement int `json:"placement"`
82 TotalScore int `json:"total_score"` 82 User UserShortWithAvatar `json:"user"`
83 TotalScore int `json:"total_score"`
83} 84}
84 85
85type Game struct { 86type Game struct {
@@ -105,7 +106,7 @@ type Title struct {
105 106
106type Links struct { 107type Links struct {
107 P2SR string `json:"p2sr"` 108 P2SR string `json:"p2sr"`
108 Steam string `json:"stream"` 109 Steam string `json:"steam"`
109 YouTube string `json:"youtube"` 110 YouTube string `json:"youtube"`
110 Twitch string `json:"twitch"` 111 Twitch string `json:"twitch"`
111} 112}