aboutsummaryrefslogtreecommitdiff
path: root/backend/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'backend/handlers')
-rw-r--r--backend/handlers/home.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/backend/handlers/home.go b/backend/handlers/home.go
index eb3912c..2095a74 100644
--- a/backend/handlers/home.go
+++ b/backend/handlers/home.go
@@ -22,17 +22,6 @@ type RankingsResponse struct {
22 Multiplayer []models.UserRanking `json:"rankings_multiplayer"` 22 Multiplayer []models.UserRanking `json:"rankings_multiplayer"`
23} 23}
24 24
25func Home(c *gin.Context) {
26 user, exists := c.Get("user")
27 if !exists {
28 c.JSON(200, "no id, not auth")
29 } else {
30 c.JSON(200, gin.H{
31 "output": user,
32 })
33 }
34}
35
36// GET Rankings 25// GET Rankings
37// 26//
38// @Description Get rankings of every player. 27// @Description Get rankings of every player.