This commit is contained in:
2025-12-07 15:14:01 +03:30
parent 8c3ae18e26
commit c3d8d3f057
+1 -1
View File
@@ -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);
}