This commit is contained in:
2025-12-15 11:15:08 +03:30
parent 9d677622f2
commit b776f2b83a
12 changed files with 80 additions and 60 deletions
@@ -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)