aboutsummaryrefslogtreecommitdiff
path: root/backend/handlers/map.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-12-22 12:22:14 +0300
committerGitHub <noreply@github.com>2023-12-22 12:22:14 +0300
commit7f56ba240f71c1f6800d1d51ba278b8d5a968ab3 (patch)
treef19a3febf0be9111584d601b5adf254e1df2c9de /backend/handlers/map.go
parentfix: set db connection limits (#140) (diff)
downloadlphub-7f56ba240f71c1f6800d1d51ba278b8d5a968ab3.tar.gz
lphub-7f56ba240f71c1f6800d1d51ba278b8d5a968ab3.tar.bz2
lphub-7f56ba240f71c1f6800d1d51ba278b8d5a968ab3.zip
fix: discussions logic cleanup, docs title changes (#142)
Diffstat (limited to 'backend/handlers/map.go')
-rw-r--r--backend/handlers/map.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/handlers/map.go b/backend/handlers/map.go
index f985a23..dfadade 100644
--- a/backend/handlers/map.go
+++ b/backend/handlers/map.go
@@ -61,7 +61,7 @@ type RecordMultiplayer struct {
61// GET Map Summary 61// GET Map Summary
62// 62//
63// @Description Get map summary with specified id. 63// @Description Get map summary with specified id.
64// @Tags maps 64// @Tags maps / summary
65// @Produce json 65// @Produce json
66// @Param mapid path int true "Map ID" 66// @Param mapid path int true "Map ID"
67// @Success 200 {object} models.Response{data=MapSummaryResponse} 67// @Success 200 {object} models.Response{data=MapSummaryResponse}
@@ -140,7 +140,7 @@ func FetchMapSummary(c *gin.Context) {
140// GET Map Leaderboards 140// GET Map Leaderboards
141// 141//
142// @Description Get map leaderboards with specified id. 142// @Description Get map leaderboards with specified id.
143// @Tags maps 143// @Tags maps / leaderboards
144// @Produce json 144// @Produce json
145// @Param mapid path int true "Map ID" 145// @Param mapid path int true "Map ID"
146// @Param page query int false "Page Number (default: 1)" 146// @Param page query int false "Page Number (default: 1)"