From b00d78717509b2de4f119f6f70ad46bd7322a069 Mon Sep 17 00:00:00 2001 From: justnyx Date: Wed, 20 Nov 2024 17:11:22 +0100 Subject: [PATCH] fixed eslint issues --- apps/backend/src/comments/comments.module.ts | 3 ++- apps/backend/src/comments/comments.service.ts | 6 +++--- apps/backend/src/dto/pagination.dto.ts | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/backend/src/comments/comments.module.ts b/apps/backend/src/comments/comments.module.ts index 0261902..e4f67c6 100644 --- a/apps/backend/src/comments/comments.module.ts +++ b/apps/backend/src/comments/comments.module.ts @@ -1,6 +1,7 @@ import { Module } from '@nestjs/common'; -import { CommentsService } from './comments.service'; + import { CommentsController } from './comments.controller'; +import { CommentsService } from './comments.service'; @Module({ controllers: [CommentsController], diff --git a/apps/backend/src/comments/comments.service.ts b/apps/backend/src/comments/comments.service.ts index 49119d5..8b2b156 100644 --- a/apps/backend/src/comments/comments.service.ts +++ b/apps/backend/src/comments/comments.service.ts @@ -1,11 +1,11 @@ import { Injectable, InternalServerErrorException, NotFoundException } from '@nestjs/common'; +import { Prisma } from '@prisma/client'; +import { PrismaService } from 'nestjs-prisma'; +import { PaginationDto } from '../dto/pagination.dto'; import { CreateCommentDto } from './dto/create-comment.dto'; import { UpdateCommentDto } from './dto/update-comment.dto'; -import { PrismaService } from 'nestjs-prisma'; import { Comment } from './entities/comment.entity'; -import { PaginationDto } from '../dto/pagination.dto'; -import { Prisma } from '@prisma/client'; @Injectable() export class CommentsService { diff --git a/apps/backend/src/dto/pagination.dto.ts b/apps/backend/src/dto/pagination.dto.ts index 76ec74e..9d0b4d0 100644 --- a/apps/backend/src/dto/pagination.dto.ts +++ b/apps/backend/src/dto/pagination.dto.ts @@ -3,4 +3,4 @@ export type PaginationDto = { count: number; page: number; limit: number; -}; \ No newline at end of file +};