Skip to content

Commit

Permalink
fixed eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
justnyx committed Nov 20, 2024
1 parent d9e7582 commit b00d787
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion apps/backend/src/comments/comments.module.ts
Original file line number Diff line number Diff line change
@@ -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],
Expand Down
6 changes: 3 additions & 3 deletions apps/backend/src/comments/comments.service.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/dto/pagination.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export type PaginationDto<T> = {
count: number;
page: number;
limit: number;
};
};

0 comments on commit b00d787

Please sign in to comment.