Skip to content

Commit e7ca53d

Browse files
committed
chore: testing
1 parent d70afb0 commit e7ca53d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/controller/auth.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package controller
22

33
import (
4+
"fmt"
45
"errors"
56
"net/http"
67
"strings"
@@ -45,8 +46,9 @@ func SignUp(c echo.Context) error {
4546
Message: "Database error",
4647
})
4748
}
48-
fmt.Println(existingUserByemail);
49+
4950
if existingUserByEmail.ID != uuid.Nil {
51+
fmt.Println(err.Error());
5052
logger.Errorf(logger.InternalError, err.Error())
5153
return c.JSON(http.StatusConflict, &models.Response{
5254
Status: "fail",

0 commit comments

Comments
 (0)