From 877c9fff940354059f2b622b0799cc944ccd8bc4 Mon Sep 17 00:00:00 2001 From: juliecoust Date: Mon, 1 Jul 2024 14:21:16 +0200 Subject: [PATCH] DEV - clean --- src/domain/use-cases/user/create-user.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/domain/use-cases/user/create-user.ts b/src/domain/use-cases/user/create-user.ts index b9f73b4..280327e 100644 --- a/src/domain/use-cases/user/create-user.ts +++ b/src/domain/use-cases/user/create-user.ts @@ -21,7 +21,6 @@ export class CreateUser implements CreateUserUseCase { // Check if a user with the given email already exists if (preexistentUser) { // User should not be deleted - console.log(preexistentUser) if (preexistentUser.deleted) throw new Error("User is deleted"); // If the user exists but hasn't validated their email