From ecc595e4263249cd8ea4508cb118cf1a94faba50 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Mon, 16 Jun 2025 08:28:26 +0100 Subject: [PATCH] fix(api): resolve eslint issues --- api/src/user/controllers/auth.controller.spec.ts | 2 +- api/src/user/controllers/user.controller.spec.ts | 2 +- api/src/user/services/invitation.service.spec.ts | 2 +- api/src/user/services/passwordReset.service.spec.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/user/controllers/auth.controller.spec.ts b/api/src/user/controllers/auth.controller.spec.ts index 60a3c345..6671ce75 100644 --- a/api/src/user/controllers/auth.controller.spec.ts +++ b/api/src/user/controllers/auth.controller.spec.ts @@ -6,13 +6,13 @@ * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). */ -import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { InternalServerErrorException, UnauthorizedException, } from '@nestjs/common'; import { BadRequestException } from '@nestjs/common/exceptions/bad-request.exception'; import { JwtService } from '@nestjs/jwt'; +import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { SentMessageInfo } from 'nodemailer'; import { I18nService } from '@/i18n/services/i18n.service'; diff --git a/api/src/user/controllers/user.controller.spec.ts b/api/src/user/controllers/user.controller.spec.ts index dc27e2eb..a1bcd6c6 100644 --- a/api/src/user/controllers/user.controller.spec.ts +++ b/api/src/user/controllers/user.controller.spec.ts @@ -6,9 +6,9 @@ * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). */ -import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { ForbiddenException, NotFoundException } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; +import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { Session as ExpressSession } from 'express-session'; import { SentMessageInfo } from 'nodemailer'; diff --git a/api/src/user/services/invitation.service.spec.ts b/api/src/user/services/invitation.service.spec.ts index b3b66ef5..4e1106f6 100644 --- a/api/src/user/services/invitation.service.spec.ts +++ b/api/src/user/services/invitation.service.spec.ts @@ -6,8 +6,8 @@ * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). */ -import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { JwtModule, JwtService } from '@nestjs/jwt'; +import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { SentMessageInfo } from 'nodemailer'; import { I18nService } from '@/i18n/services/i18n.service'; diff --git a/api/src/user/services/passwordReset.service.spec.ts b/api/src/user/services/passwordReset.service.spec.ts index c792d224..925401f3 100644 --- a/api/src/user/services/passwordReset.service.spec.ts +++ b/api/src/user/services/passwordReset.service.spec.ts @@ -6,10 +6,10 @@ * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). */ -import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { NotFoundException } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import { getModelToken } from '@nestjs/mongoose'; +import { ISendMailOptions, MailerService } from '@nestjs-modules/mailer'; import { compareSync } from 'bcryptjs'; import { Model } from 'mongoose'; import { SentMessageInfo } from 'nodemailer';