Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: error message wording (#18602)

p0nyef90e0448035
diff --git a/backend/api/v1/user_service.go b/backend/api/v1/user_service.go
index 6dbe064644..a41b654cb4 100644
--- a/backend/api/v1/user_service.go
+++ b/backend/api/v1/user_service.go
@@ -227,7 +227,7 @@ func (s *UserService) CreateUser(ctx context.Context, request *connect.Request[v
return nil, connect.NewError(connect.CodeInternal, errors.Errorf("failed to find user by email, error: %v", err))
}
if existingUser != nil {
- return nil, connect.NewError(connect.CodeAlreadyExists, errors.Errorf("email %s is already existed", request.Msg.User.Email))
+ return nil, connect.NewError(connect.CodeAlreadyExists, errors.Errorf("email %s exists", request.Msg.User.Email))
}
password := request.Msg.User.Password