aboutsummaryrefslogtreecommitdiff
path: root/backend/controllers/userController.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-04-24 18:03:35 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-04-24 18:03:35 +0300
commit0c77c347370779ba618f7f8de09a768bd4aea238 (patch)
tree0cf6cfb31b245fd3421b40af1878bd7afd1a2594 /backend/controllers/userController.go
parentdoc: change route name (diff)
downloadlphub-0c77c347370779ba618f7f8de09a768bd4aea238.tar.gz
lphub-0c77c347370779ba618f7f8de09a768bd4aea238.tar.bz2
lphub-0c77c347370779ba618f7f8de09a768bd4aea238.zip
doc: change route name
Diffstat (limited to '')
-rw-r--r--backend/controllers/userController.go2
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]
112func FetchUser(c *gin.Context) { 112func 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