api-go/internal/graphql_server/utils/sign_in.go
Function SignIn
has 5 return statements (exceeds 4 allowed). Open
Open
func SignIn(email string, password string) (*JWT, error) {
user, err := GetUserByEmail(email)
if err != nil {
log.Error().Err(err).Msg("GetUserByEmail")
return nil, err