(@Req() req: Request)
| 16 | @UseGuards(JwtAuthGuard) |
| 17 | @Post('/create') |
| 18 | async createTicket(@Req() req: Request) { |
| 19 | try { |
| 20 | return this.TicketService.createTicket( |
| 21 | req.body.orderId, |
| 22 | req.body.passengerEmail |
| 23 | ); |
| 24 | } catch (err) { |
| 25 | throw new Error(err); |
| 26 | } |
| 27 | } |
| 28 | @UseGuards(JwtAuthGuard) |
| 29 | @Get('/by-passenger-email') |
| 30 | async getSchedulesByPassengerEmail(@Query('email') email: string) { |
nothing calls this directly
no outgoing calls
no test coverage detected