Skip to content

Commit

Permalink
Merge pull request #156 from modern-agile-team/feature/board-like
Browse files Browse the repository at this point in the history
Feature/board like
  • Loading branch information
hobiJeong authored Dec 21, 2023
2 parents f84c2c3 + b4b85b0 commit 42b98aa
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/boards/controllers/boards-like.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,24 @@ import {
ValidationPipe,
Query,
UseGuards,
UseInterceptors,
} from '@nestjs/common';
import { BoardsLikeService } from '../services/boards-like.service';
import { ApiTags } from '@nestjs/swagger';
import { ApiAddBoardLike } from '../swagger-decorators/add-board-like.decorator';
import { ApiGetBoardLikeCount } from '../swagger-decorators/get-board-like-count.decorator';
import { ApiDeleteBoardLike } from '../swagger-decorators/delete-board-like.decorator';
import { TokenService } from 'src/auth/services/token.service';
import { GetUserId } from 'src/common/decorators/get-userId.decorator';
import { JwtAccessTokenGuard } from 'src/config/guards/jwt-access-token.guard';
import { JwtOptionalGuard } from 'src/config/guards/jwt-optional.guard';
import { SuccessResponseInterceptor } from 'src/common/interceptors/success-response.interceptor';

@ApiTags('BOARDS-LIKE')
@UsePipes(ValidationPipe)
@UseInterceptors(SuccessResponseInterceptor)
@Controller('boards')
export class BoardsLikeController {
constructor(
private tokenService: TokenService,
private boardsLikeService: BoardsLikeService,
) {}
constructor(private boardsLikeService: BoardsLikeService) {}

@ApiAddBoardLike()
@Post('like/:boardId')
Expand Down

0 comments on commit 42b98aa

Please sign in to comment.