order list
This commit is contained in:
@@ -22,7 +22,10 @@ export class OrdersController {
|
||||
return this.ordersService.create(userId, restaurantId);
|
||||
}
|
||||
|
||||
@Get()
|
||||
@Get('public/orders')
|
||||
@ApiOperation({ summary: 'Get all orders' })
|
||||
@ApiResponse({ status: 200, description: 'Orders fetched successfully' })
|
||||
@ApiResponse({ status: 404, description: 'No orders found' })
|
||||
findAll() {
|
||||
return this.ordersService.findAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user