aboutsummaryrefslogtreecommitdiff
path: root/backend/controllers/userController.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-17 17:26:46 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-17 17:26:46 +0300
commitb960100d246a2c54778dc3501599adb1d7e4b224 (patch)
tree77e573e1f623917a6b67ee50718e5d1c04e9f841 /backend/controllers/userController.go
parentMerge branch 'main' of https://github.com/pektezol/LeastPortals (diff)
downloadlphub-b960100d246a2c54778dc3501599adb1d7e4b224.tar.gz
lphub-b960100d246a2c54778dc3501599adb1d7e4b224.tar.bz2
lphub-b960100d246a2c54778dc3501599adb1d7e4b224.zip
fix: reorganize models (#44)
Diffstat (limited to 'backend/controllers/userController.go')
-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 adf936b..cbce0fe 100644
--- a/backend/controllers/userController.go
+++ b/backend/controllers/userController.go
@@ -251,7 +251,7 @@ func UpdateUser(c *gin.Context) {
251// @Produce json 251// @Produce json
252// @Param Authorization header string true "JWT Token" 252// @Param Authorization header string true "JWT Token"
253// @Param country_code query string true "Country Code [XX]" 253// @Param country_code query string true "Country Code [XX]"
254// @Success 200 {object} models.Response{data=models.ProfileResponse} 254// @Success 200 {object} models.Response
255// @Failure 400 {object} models.Response 255// @Failure 400 {object} models.Response
256// @Failure 401 {object} models.Response 256// @Failure 401 {object} models.Response
257// @Router /profile [put] 257// @Router /profile [put]