From 23ea7dfc79f2d2fde91cfc466061bd974ec709fa Mon Sep 17 00:00:00 2001 From: Mohamed Idrissi Date: Thu, 2 May 2024 01:24:02 -0400 Subject: [PATCH] remove unused import --- .../pdf-parser/planification/planification-cours.service.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pdf/pdf-parser/planification/planification-cours.service.ts b/src/pdf/pdf-parser/planification/planification-cours.service.ts index 680584e..58cacfe 100644 --- a/src/pdf/pdf-parser/planification/planification-cours.service.ts +++ b/src/pdf/pdf-parser/planification/planification-cours.service.ts @@ -3,7 +3,6 @@ import { Injectable } from '@nestjs/common'; import { Fill, Output, Page, Text } from 'pdf2json'; import { firstValueFrom } from 'rxjs'; -import { FileUtil } from '../../../utils/pdf/fileUtil'; import { PdfParserUtil } from '../../../utils/pdf/parser/pdfParserUtil'; import { TextExtractor } from '../../../utils/pdf/parser/textExtractorUtil'; import { CourseCodeValidationPipe } from '../../pipes/course-code-validation-pipe'; @@ -20,10 +19,7 @@ export class PlanificationCoursService { private courseCodeValidationPipe = new CourseCodeValidationPipe(); - constructor( - private httpService: HttpService, - private fileUtil: FileUtil, - ) {} + constructor(private httpService: HttpService) {} public async parsePdfFromUrl(pdfUrl: string): Promise { try {