update order

This commit is contained in:
2026-01-26 15:46:28 +03:30
parent d53bb75fae
commit 4dcbfa41ec
2 changed files with 14 additions and 3 deletions
@@ -93,7 +93,7 @@ export class OrderController {
@UseGuards(AuthGuard)
@ApiOperation({ summary: 'Update Order ' })
updateOrder(@Param('orderId') orderId: string, @Body() dto: UpdateOrderDtoAsAdmin) {
return this.orderService.updateOrder(orderId, dto);
return this.orderService.updateOrderAsAdmin(orderId, dto);
}
@Delete('admin/orders/:orderId')