update order
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user