Fix new services implementation 10
This commit is contained in:
@@ -548,7 +548,10 @@ export class InventoryService {
|
||||
async getProductsList(tenantId: string): Promise<ProductInfo[]> {
|
||||
try {
|
||||
const response = await apiClient.get(`/tenants/${tenantId}/ingredients`, {
|
||||
params: { limit: 100 }, // Get all products
|
||||
params: {
|
||||
limit: 100,
|
||||
product_type: 'finished_product' // Only get finished products, not raw ingredients
|
||||
},
|
||||
});
|
||||
|
||||
console.log('🔍 Inventory Products API Response:', response);
|
||||
|
||||
Reference in New Issue
Block a user