Skip to content

Commit

Permalink
refactor(#317) mentorBoard Image Query -> Param
Browse files Browse the repository at this point in the history
  • Loading branch information
2swo committed Mar 17, 2024
1 parent 2233d4c commit 4a94b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/boards/controllers/mentor.board.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ export class MentorBoardController {
userId,
);
}
@Patch('/images')
@Patch(':mentorBoardId/images')
@UseGuards(AccessTokenAuthGuard)
@ApiUpdateMentorBoardImage()
@UseInterceptors(FilesInterceptor('files', 3))
async editBoardImages(
@GetUserId() userId: number,
@Query('mentorBoardId') boardId: number,
@Param('mentorBoardId') boardId: number,
@Query('deleteImageUrl') deleteImageUrl: string[],
@UploadedFiles() files: Express.Multer.File[],
) {
Expand Down

0 comments on commit 4a94b07

Please sign in to comment.