Browse Source

Merge pull request 'add payload get overdue' (#100) from dev-wahyu into staging

Reviewed-on: ordo/adw-frontend#100
pull/2/head
ibnu 1 year ago
parent
commit
0d60114d13
  1. 2
      src/views/Dashboard/DashboardProject.js

2
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)

Loading…
Cancel
Save