Skip to content

Commit

Permalink
feat: ticle/detail guard제거 및 query param 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
begong313 committed Dec 2, 2024
1 parent 32b0201 commit ee3538b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/api/src/ticle/ticle.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ export class TicleController {
}

@Get(':ticleId')
@UseGuards(JwtAuthGuard)
getTicle(
@GetUserId() userId: number,
@Param('ticleId') ticleId: number
@Param('ticleId') ticleId: number,
@Query('userId') userId: number
): Promise<TickleDetailResponseDto> {
return this.ticleService.getTicleByTicleId(userId, ticleId);
}
Expand Down

0 comments on commit ee3538b

Please sign in to comment.