aboutsummaryrefslogtreecommitdiff
path: root/backend/controllers/userController.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-01-14 02:44:36 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-01-14 02:44:36 +0300
commitae914b9f7a593ac83ebca9b15eba6ea79524ae4c (patch)
treea48686df978db1df6844fb60c68f334a080a5a53 /backend/controllers/userController.go
parentdemo to google drive is worknig properly (#20) (diff)
downloadlphub-ae914b9f7a593ac83ebca9b15eba6ea79524ae4c.tar.gz
lphub-ae914b9f7a593ac83ebca9b15eba6ea79524ae4c.tar.bz2
lphub-ae914b9f7a593ac83ebca9b15eba6ea79524ae4c.zip
record submission looks like its working! (#23, #20)
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 70a2a34..b23a303 100644
--- a/backend/controllers/userController.go
+++ b/backend/controllers/userController.go
@@ -49,7 +49,7 @@ func FetchUser(c *gin.Context) {
49 return 49 return
50 } 50 }
51 if err != nil { 51 if err != nil {
52 c.JSON(http.StatusInternalServerError, models.ErrorResponse(err.Error())) 52 c.JSON(http.StatusBadRequest, models.ErrorResponse(err.Error()))
53 return 53 return
54 } 54 }
55 // Target user exists 55 // Target user exists