From c0046ec2596c42c3c8df1cbda64aa9f018f409e7 Mon Sep 17 00:00:00 2001 From: wahyu Date: Mon, 28 Aug 2023 16:14:31 +0700 Subject: [PATCH] add payload get overdue --- src/views/Dashboard/DashboardProject.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/Dashboard/DashboardProject.js b/src/views/Dashboard/DashboardProject.js index 839b87b..b4fb6a2 100644 --- a/src/views/Dashboard/DashboardProject.js +++ b/src/views/Dashboard/DashboardProject.js @@ -328,6 +328,8 @@ const DashboardProject = () => { const URL = `${BASE_OSPRO}/api/project/get-overdue-activities`; const payload = { "id": PROJECT_ID.toString(), + "gantt": GANTT_ID.toString(), + "scurve": SCURVE ? SCURVE.toString() : null, "till_date": moment(new Date()).format('YYYY-MM-DD') } const result = await axios.post(URL, payload, HEADER).then(res => res).catch(err => err.response)