We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d70afb0 commit e7ca53dCopy full SHA for e7ca53d
pkg/controller/auth.go
@@ -1,6 +1,7 @@
1
package controller
2
3
import (
4
+ "fmt"
5
"errors"
6
"net/http"
7
"strings"
@@ -45,8 +46,9 @@ func SignUp(c echo.Context) error {
45
46
Message: "Database error",
47
})
48
}
- fmt.Println(existingUserByemail);
49
+
50
if existingUserByEmail.ID != uuid.Nil {
51
+ fmt.Println(err.Error());
52
logger.Errorf(logger.InternalError, err.Error())
53
return c.JSON(http.StatusConflict, &models.Response{
54
Status: "fail",
0 commit comments