diff --git a/src/modules/auth/cqrs/commands/handler/login-by-email.handler.ts b/src/modules/auth/cqrs/commands/handler/login-by-email.handler.ts index c314c1b..5907ad5 100644 --- a/src/modules/auth/cqrs/commands/handler/login-by-email.handler.ts +++ b/src/modules/auth/cqrs/commands/handler/login-by-email.handler.ts @@ -1,5 +1,5 @@ import { GetUserByEmailQuery } from '@modules/users/cqrs/queries/impl/get-user-by-email.query' -import { NotFoundException } from '@nestjs/common' +import { BadRequestException } from '@nestjs/common' import { CommandHandler, ICommandHandler, QueryBus } from '@nestjs/cqrs' import { UtilService } from '@shared/utils.service' @@ -13,13 +13,13 @@ export class LoginByEmailCommandHandler implements ICommandHandler