From d5d15682be0dc326da113f74267e7df75e06a66f Mon Sep 17 00:00:00 2001 From: heyyakash Date: Sat, 31 Aug 2024 23:21:51 +0530 Subject: [PATCH] edited success messages for new account --- backend/internal/handler/auth.handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/handler/auth.handlers.go b/backend/internal/handler/auth.handlers.go index 55ff3da..ce17344 100644 --- a/backend/internal/handler/auth.handlers.go +++ b/backend/internal/handler/auth.handlers.go @@ -51,7 +51,7 @@ func CreateNewAccount() gin.HandlerFunc { http.SetCookie(ctx.Writer, cookie) http.SetCookie(ctx.Writer, refcookie) - ctx.JSON(http.StatusOK, utils.ResponseGenerator("Success", true)) + ctx.JSON(http.StatusOK, utils.ResponseGenerator("New Account Created Successfully", true)) return } ctx.AbortWithStatusJSON(http.StatusBadRequest, utils.ResponseGenerator("User already exists", false))