aboutsummaryrefslogtreecommitdiff
path: root/backend/api/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/api/routes.go')
-rw-r--r--backend/api/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/routes.go b/backend/api/routes.go
index c3124f9..690f844 100644
--- a/backend/api/routes.go
+++ b/backend/api/routes.go
@@ -25,7 +25,7 @@ func InitRoutes(router *gin.Engine) {
25 v1.GET("/profile", RateLimit, IsAuthenticated, handlers.Profile) 25 v1.GET("/profile", RateLimit, IsAuthenticated, handlers.Profile)
26 v1.PUT("/profile", IsAuthenticated, handlers.UpdateCountryCode) 26 v1.PUT("/profile", IsAuthenticated, handlers.UpdateCountryCode)
27 v1.POST("/profile", IsAuthenticated, handlers.UpdateUser) 27 v1.POST("/profile", IsAuthenticated, handlers.UpdateUser)
28 v1.GET("/users/:userid", IsAuthenticated, handlers.FetchUser) 28 v1.GET("/users/:userid", handlers.FetchUser)
29 // Maps 29 // Maps
30 // - Summary 30 // - Summary
31 v1.GET("/maps/:mapid/summary", RateLimit, handlers.FetchMapSummary) 31 v1.GET("/maps/:mapid/summary", RateLimit, handlers.FetchMapSummary)