(@Body() schedule: ScheduleDto)
| 134 | @UseGuards(JwtAuthGuard, AdminGuard) |
| 135 | @Post('schedule') |
| 136 | async createNewSchedule(@Body() schedule: ScheduleDto) { |
| 137 | return this.busService.createSchedule(schedule); |
| 138 | } |
| 139 | |
| 140 | // testing admin guard |
| 141 | @UseGuards(JwtAuthGuard, AdminGuard) |
nothing calls this directly
no test coverage detected