diff --git a/src/modules/user/commands/create-user/create-user.service.ts b/src/modules/user/commands/create-user/create-user.service.ts index 6fced0e..2af53af 100644 --- a/src/modules/user/commands/create-user/create-user.service.ts +++ b/src/modules/user/commands/create-user/create-user.service.ts @@ -11,10 +11,7 @@ import { UserEntity } from '../../domain/entities/user.entity'; import { UserAlreadyExistsError } from '../../errors/user.errors'; @CommandHandler(CreateUserCommand) -export class CreateUserService extends CommandHandlerBase< - ID, - UserAlreadyExistsError -> { +export class CreateUserService extends CommandHandlerBase { constructor(protected readonly unitOfWork: UnitOfWork) { super(unitOfWork); }