up
This commit is contained in:
@@ -101,7 +101,7 @@ export class OrdersController {
|
||||
@ApiOperation({ summary: 'Accept an order' })
|
||||
@ApiParam({ name: 'orderId', description: 'Order ID' })
|
||||
acceptOrder(@Param('orderId') orderId: string, @RestId() restId: string) {
|
||||
return this.ordersService.acceptOrder(orderId, restId);
|
||||
return this.ordersService.confirmOrder(orderId, restId);
|
||||
}
|
||||
|
||||
@UseGuards(AdminAuthGuard)
|
||||
|
||||
Reference in New Issue
Block a user