aboutsummaryrefslogtreecommitdiff
path: root/backend/api/routes.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-31 23:12:12 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-31 23:12:12 +0300
commitb67cb2d89ccda1011d04c49a45de66e0182f971c (patch)
tree71ef3e498a921af2cdae396b0cdcbacb7ac3daa8 /backend/api/routes.go
parentdatabase: organize sql files (diff)
downloadlphub-b67cb2d89ccda1011d04c49a45de66e0182f971c.tar.gz
lphub-b67cb2d89ccda1011d04c49a45de66e0182f971c.tar.bz2
lphub-b67cb2d89ccda1011d04c49a45de66e0182f971c.zip
backend: remove auth check for viewing user page
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)