diff --git a/backend/src/lib/newbook.js b/backend/src/lib/newbook.js index 0469d7e..7f7cb06 100644 --- a/backend/src/lib/newbook.js +++ b/backend/src/lib/newbook.js @@ -75,6 +75,7 @@ export async function fetchTasks(fromDate, toDate) { period_from: `${fromDate} 00:00:00`, period_to: `${toDate} 23:59:59`, show_uncomplete: 'true', + task_type: [-1], // -1 = all types; required by the API }) return res?.data ?? [] }