diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-10-27 22:12:31 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-10-27 23:13:45 +0400 |
| commit | 96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8 (patch) | |
| tree | d33156305b0e34e1c28e294e021447635dde3531 /backend/handlers/record.go | |
| parent | fix/frontend: hide breakpoint in-between tablet and desktop on maps (#290) (diff) | |
| download | lphub-96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8.tar.gz lphub-96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8.tar.bz2 lphub-96f55dba15bcbba4e6d8f14035ecfd20ebcea8a8.zip | |
feat/backend: timeline stats endpoint
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") |