From f8b2a3c9f6103de7895d5c5d68335922d96f7fc8 Mon Sep 17 00:00:00 2001 From: chemokita13 Date: Sat, 3 Aug 2024 16:10:50 +0200 Subject: [PATCH] update imports --- src/BeFake/BeFake.ts | 2 +- src/login/login.service.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BeFake/BeFake.ts b/src/BeFake/BeFake.ts index dc64e98..e42a8b8 100644 --- a/src/BeFake/BeFake.ts +++ b/src/BeFake/BeFake.ts @@ -5,7 +5,7 @@ import { Post } from './modules/Post'; import { BeFakeResponse } from './types/BeFakeResponse'; import { tokenObj } from 'src/types/types'; import { sendMail } from 'src/Resend/sendMail'; -import { getHeaders } from './headers'; +import getHeaders from './headers'; export default class BeFake { //* Types diff --git a/src/login/login.service.ts b/src/login/login.service.ts index 6f6c936..4a869b6 100644 --- a/src/login/login.service.ts +++ b/src/login/login.service.ts @@ -1,13 +1,13 @@ import { HttpException, Injectable } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import BeFake from 'src/BeFake/BeFake'; -import { getHeaders } from 'src/BeFake/headers'; +import getHeaders from 'src/BeFake/headers'; import { BeFakeResponse } from 'src/BeFake/types/BeFakeResponse'; import { APIresponse, tokenObj } from 'src/types/types'; @Injectable() export class LoginService { - constructor(private jwtService: JwtService) {} // Constructor with jwtService + constructor(private jwtService: JwtService) { } // Constructor with jwtService // Get tokens object and return token public async tokenize(tokenObj: tokenObj): Promise {