MCPcopy Create free account
hub / github.com/bsoc-bitbyte/busify / createOrder

Method createOrder

backend/src/Orders/orders.controller.ts:18–24  ·  view source on GitHub ↗
(@Req() request: Request)

Source from the content-addressed store, hash-verified

16 @UseGuards(JwtAuthGuard)
17 @Post('/create')
18 async createOrder(@Req() request: Request) {
19 return this.ordersService.createOrder(
20 request.body.scheduleId,
21 request.body.ticketQuantity,
22 request.user.id
23 );
24 }
25
26 @UseGuards(JwtAuthGuard)
27 @Get('/recent')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected