tango-app-api-task 3.4.1-activitylog-15 → 3.4.1-activitylog-17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-task",
3
- "version": "3.4.1-activitylog-15",
3
+ "version": "3.4.1-activitylog-17",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1134,12 +1134,12 @@ export async function taskConfig( req, res ) {
1134
1134
  logDetails: {
1135
1135
  schedule: {
1136
1136
  previous: {
1137
- ...( showSchedule ) ? { scheduleDate: checklistDetails?.scheduleDate } :{},
1137
+ ...( showSchedule ) ? { scheduleDateString: checklistDetails?.scheduleDate } :{},
1138
1138
  time: showSchedule ? checklistDetails.scheduleEndTime : '',
1139
1139
  priority: showSchedule ? checklistDetails?.priorityType : '',
1140
1140
  },
1141
1141
  new: {
1142
- ...( showSchedule ) ? { scheduleDate: configDetails?.scheduleDate } :{},
1142
+ ...( showSchedule ) ? { scheduleDateString: configDetails?.scheduleDate } :{},
1143
1143
  time: showSchedule ? configDetails.scheduleEndTime : '',
1144
1144
  priority: showSchedule ? configDetails?.priorityType : '',
1145
1145
  },
@@ -1808,12 +1808,12 @@ export async function reinitiateTask( req, res ) {
1808
1808
  logDetails: {
1809
1809
  schedule: {
1810
1810
  previous: {
1811
- ...( showSchedule ) ? { scheduleDate: taskDetails?.scheduleDate } :{},
1811
+ ...( showSchedule ) ? { scheduleDateString: taskDetails?.scheduleDate } :{},
1812
1812
  time: showSchedule ? taskDetails.scheduleEndTime : '',
1813
1813
  priority: showSchedule ? taskDetails?.priorityType : '',
1814
1814
  },
1815
1815
  new: {
1816
- ...( showSchedule ) ? { scheduleDate: req.body?.scheduleDate } :{},
1816
+ ...( showSchedule ) ? { scheduleDateString: req.body?.scheduleDate } :{},
1817
1817
  time: showSchedule ? req.body.scheduleEndTime : '',
1818
1818
  priority: showSchedule ? req.body?.priorityType : '',
1819
1819
  },
@@ -2335,7 +2335,7 @@ export async function approveTask( req, res ) {
2335
2335
  'createAt': new Date(),
2336
2336
  'sourceCheckList_id': req.body.sourceCheckList_id,
2337
2337
  'checkListName': taskDetails[0].checkListName,
2338
- 'fromCheckListName': taskDetails[0].checkListName,
2338
+ 'fromCheckListName': '',
2339
2339
  'type': 'task',
2340
2340
  'action': 'approved',
2341
2341
  'storeName': '',