aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-07-12 12:08:59 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-07-12 12:08:59 +0300
commit779c99ea5425f68d62f53b00a9f1e9920573aea1 (patch)
tree045c367bc9db2f32946bbb2254d308133bbf77b5
parentfix: unique relation for map history and routes (diff)
downloadlphub-779c99ea5425f68d62f53b00a9f1e9920573aea1.tar.gz
lphub-779c99ea5425f68d62f53b00a9f1e9920573aea1.tar.bz2
lphub-779c99ea5425f68d62f53b00a9f1e9920573aea1.zip
feat: delete map summary route
Former-commit-id: 2f2f884426ff0be75d4ec1b1220edb05b20ba9d8
Diffstat (limited to '')
-rw-r--r--backend/routes/routes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/routes/routes.go b/backend/routes/routes.go
index feb49f3..a39c8c4 100644
--- a/backend/routes/routes.go
+++ b/backend/routes/routes.go
@@ -28,6 +28,7 @@ func InitRoutes(router *gin.Engine) {
28 v1.GET("/maps/:id/summary", controllers.FetchMapSummary) 28 v1.GET("/maps/:id/summary", controllers.FetchMapSummary)
29 v1.POST("/maps/:id/summary", middleware.CheckAuth, controllers.CreateMapSummary) 29 v1.POST("/maps/:id/summary", middleware.CheckAuth, controllers.CreateMapSummary)
30 v1.PUT("/maps/:id/summary", middleware.CheckAuth, controllers.EditMapSummary) 30 v1.PUT("/maps/:id/summary", middleware.CheckAuth, controllers.EditMapSummary)
31 v1.DELETE("/maps/:id/summary", middleware.CheckAuth, controllers.DeleteMapSummary)
31 v1.GET("/maps/:id/leaderboards", controllers.FetchMapLeaderboards) 32 v1.GET("/maps/:id/leaderboards", controllers.FetchMapLeaderboards)
32 v1.POST("/maps/:id/record", middleware.CheckAuth, controllers.CreateRecordWithDemo) 33 v1.POST("/maps/:id/record", middleware.CheckAuth, controllers.CreateRecordWithDemo)
33 v1.GET("/rankings", controllers.Rankings) 34 v1.GET("/rankings", controllers.Rankings)