diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 18:03:35 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 18:03:35 +0300 |
| commit | 0c77c347370779ba618f7f8de09a768bd4aea238 (patch) | |
| tree | 0cf6cfb31b245fd3421b40af1878bd7afd1a2594 /backend | |
| parent | doc: change route name (diff) | |
| download | lphub-0c77c347370779ba618f7f8de09a768bd4aea238.tar.gz lphub-0c77c347370779ba618f7f8de09a768bd4aea238.tar.bz2 lphub-0c77c347370779ba618f7f8de09a768bd4aea238.zip | |
doc: change route name
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/controllers/userController.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/controllers/userController.go b/backend/controllers/userController.go index c86a739..dcae2ed 100644 --- a/backend/controllers/userController.go +++ b/backend/controllers/userController.go | |||
| @@ -108,7 +108,7 @@ func Profile(c *gin.Context) { | |||
| 108 | // @Success 200 {object} models.Response{data=models.ProfileResponse} | 108 | // @Success 200 {object} models.Response{data=models.ProfileResponse} |
| 109 | // @Failure 400 {object} models.Response | 109 | // @Failure 400 {object} models.Response |
| 110 | // @Failure 404 {object} models.Response | 110 | // @Failure 404 {object} models.Response |
| 111 | // @Router /user/{id} [get] | 111 | // @Router /users/{id} [get] |
| 112 | func FetchUser(c *gin.Context) { | 112 | func FetchUser(c *gin.Context) { |
| 113 | id := c.Param("id") | 113 | id := c.Param("id") |
| 114 | // Check if id is all numbers and 17 length | 114 | // Check if id is all numbers and 17 length |