diff options
Diffstat (limited to 'backend/handlers/record.go')
| -rw-r--r-- | backend/handlers/record.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/handlers/record.go b/backend/handlers/record.go index 25a6c6d..07ae5a8 100644 --- a/backend/handlers/record.go +++ b/backend/handlers/record.go | |||
| @@ -35,11 +35,11 @@ type RecordResponse struct { | |||
| 35 | // @Tags maps / leaderboards | 35 | // @Tags maps / leaderboards |
| 36 | // @Accept mpfd | 36 | // @Accept mpfd |
| 37 | // @Produce json | 37 | // @Produce json |
| 38 | // @Param mapid path int true "Map ID" | 38 | // @Param mapid path int true "Map ID" |
| 39 | // @Param Authorization header string true "JWT Token" | 39 | // @Param Authorization header string true "JWT Token" |
| 40 | // @Param host_demo formData file true "Host Demo" | 40 | // @Param host_demo formData file true "Host Demo" |
| 41 | // @Param partner_demo formData file false "Partner Demo" | 41 | // @Param partner_demo formData file false "Partner Demo" |
| 42 | // @Success 200 {object} models.Response{data=RecordResponse} | 42 | // @Success 200 {object} models.Response{data=RecordResponse} |
| 43 | // @Router /maps/{mapid}/record [post] | 43 | // @Router /maps/{mapid}/record [post] |
| 44 | func CreateRecordWithDemo(c *gin.Context) { | 44 | func CreateRecordWithDemo(c *gin.Context) { |
| 45 | id := c.Param("mapid") | 45 | id := c.Param("mapid") |