order list

This commit is contained in:
2025-12-01 22:58:56 +03:30
parent 288b0529cd
commit 1165167619
2 changed files with 10 additions and 4 deletions
+4 -1
View File
@@ -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();
}