diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 14:41:27 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 14:41:27 +0300 |
| commit | 64e42226f73f2bd62cfc9881a5803f125c3e1032 (patch) | |
| tree | f99ee986a541332604bfa3c8cccdfc5295c82556 /backend | |
| parent | doc: added tags (diff) | |
| download | lphub-64e42226f73f2bd62cfc9881a5803f125c3e1032.tar.gz lphub-64e42226f73f2bd62cfc9881a5803f125c3e1032.tar.bz2 lphub-64e42226f73f2bd62cfc9881a5803f125c3e1032.zip | |
doc: fix demo download uuid from path to query
Diffstat (limited to '')
| -rw-r--r-- | backend/controllers/recordController.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/controllers/recordController.go b/backend/controllers/recordController.go index 3b4bdc7..e3120c9 100644 --- a/backend/controllers/recordController.go +++ b/backend/controllers/recordController.go | |||
| @@ -198,7 +198,7 @@ func CreateRecordWithDemo(c *gin.Context) { | |||
| 198 | // @Tags demo | 198 | // @Tags demo |
| 199 | // @Accept json | 199 | // @Accept json |
| 200 | // @Produce octet-stream | 200 | // @Produce octet-stream |
| 201 | // @Param uuid path int true "Demo UUID" | 201 | // @Param uuid query int true "Demo UUID" |
| 202 | // @Success 200 {file} binary "Demo File" | 202 | // @Success 200 {file} binary "Demo File" |
| 203 | // @Failure 400 {object} models.Response | 203 | // @Failure 400 {object} models.Response |
| 204 | // @Router /demo [get] | 204 | // @Router /demo [get] |