From bd8cfddac5acfa8eee7c75cb72af1fb5cfbe82f0 Mon Sep 17 00:00:00 2001 From: juliecoust Date: Wed, 10 Jul 2024 17:03:18 +0200 Subject: [PATCH] FIX: project update on a unexisting project --- src/domain/use-cases/user/create-user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/use-cases/user/create-user.ts b/src/domain/use-cases/user/create-user.ts index 0363a2f..9f1b44c 100644 --- a/src/domain/use-cases/user/create-user.ts +++ b/src/domain/use-cases/user/create-user.ts @@ -46,7 +46,7 @@ export class CreateUser implements CreateUserUseCase { // Remove the confirmation code from the user object before sending it // const publicUser = this.userRepository.toPublicUser(updatedUser) - + return; // return publicUser; } else { // If the user exists and has already validated their email