
[Nest.js] Controller 라우팅 에러 (url 동적할당/ 정적할당)
🐳 문제 코드 @Controller('records') @UseGuards(AuthGuard('jwt')) @UsePipes(ValidationPipe) export class RecordsController { constructor(private recordsService: RecordsService) {} @Get('/:id') getRecord(@Param('id') id:number): Promise { console.log("getRecord is routed") return this.recordsService.getRecordById(id); } @Get('/weekly/') getWeeklyInfo(@GetUser() user:User):Promise{ console.log("getWeekl..