- Add buildBillingItemsFilter() to provide required itemDate filter BillingItems API requires a filter parameter and returns 500 error without it - Add validation for task project_id foreign key references Tasks with invalid project_id now have the field nullified instead of failing - Add getValidProjectIds() method to fetch valid project IDs from database Fixes: - Billing Items: 'Value cannot be null. Parameter name: filters' error - Tasks: 'violates foreign key constraint tasks_project_id_fkey' error Both entities should now sync successfully. |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| utils.ts | ||