up
This commit is contained in:
@@ -58,7 +58,7 @@ export class OrdersController {
|
|||||||
@ApiBearerAuth()
|
@ApiBearerAuth()
|
||||||
@ApiOperation({ summary: 'Get an order By id for User' })
|
@ApiOperation({ summary: 'Get an order By id for User' })
|
||||||
@ApiParam({ name: 'orderId', description: 'Order ID' })
|
@ApiParam({ name: 'orderId', description: 'Order ID' })
|
||||||
@Get('public/orders/:orderId')
|
@Get('admin/orders/:orderId')
|
||||||
findOneAsAdmin(@Param('orderId') orderId: string, @RestId() restId: string) {
|
findOneAsAdmin(@Param('orderId') orderId: string, @RestId() restId: string) {
|
||||||
return this.ordersService.findOne(orderId, restId);
|
return this.ordersService.findOne(orderId, restId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user