From c3d8d3f0579e1bf3f102cb452fcec3dc22e55d6a Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Sun, 7 Dec 2025 15:14:01 +0330 Subject: [PATCH] up --- src/modules/orders/orders.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/orders/orders.controller.ts b/src/modules/orders/orders.controller.ts index 0a32b99..6f25add 100644 --- a/src/modules/orders/orders.controller.ts +++ b/src/modules/orders/orders.controller.ts @@ -58,7 +58,7 @@ export class OrdersController { @ApiBearerAuth() @ApiOperation({ summary: 'Get an order By id for User' }) @ApiParam({ name: 'orderId', description: 'Order ID' }) - @Get('public/orders/:orderId') + @Get('admin/orders/:orderId') findOneAsAdmin(@Param('orderId') orderId: string, @RestId() restId: string) { return this.ordersService.findOne(orderId, restId); }