aboutsummaryrefslogtreecommitdiff
path: root/backend/controllers
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2022-10-30 14:46:17 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2022-10-30 14:46:17 +0300
commit886c574c1ca7cd56c21c920aac4c0f91e4fda692 (patch)
tree70abd06b867e7f83eab10ba46174e6236aa68969 /backend/controllers
parentswagger implementation (diff)
downloadlphub-886c574c1ca7cd56c21c920aac4c0f91e4fda692.tar.gz
lphub-886c574c1ca7cd56c21c920aac4c0f91e4fda692.tar.bz2
lphub-886c574c1ca7cd56c21c920aac4c0f91e4fda692.zip
(#4) will work on it later
Diffstat (limited to 'backend/controllers')
-rw-r--r--backend/controllers/userController.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/controllers/userController.go b/backend/controllers/userController.go
index bd6cef4..87a9427 100644
--- a/backend/controllers/userController.go
+++ b/backend/controllers/userController.go
@@ -83,7 +83,7 @@ func FetchUser(c *gin.Context) {
83 return 83 return
84} 84}
85 85
86func UpdateUserCountry(c *gin.Context) { 86/*func UpdateUserCountry(c *gin.Context) {
87 id := c.Param("id") 87 id := c.Param("id")
88 cc := c.Param("country") 88 cc := c.Param("country")
89 // Check if id is all numbers and 17 length 89 // Check if id is all numbers and 17 length
@@ -170,4 +170,4 @@ func UpdateUserCountry(c *gin.Context) {
170 }, 170 },
171 }) 171 })
172 return 172 return
173} 173}*/