tango-app-api-task 3.2.1-beta-39 → 3.2.1-beta-41

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.2.1-beta-39",
3
+ "version": "3.2.1-beta-41",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1009,6 +1009,7 @@ export async function insertSingleProcessData( checklistId ) {
1009
1009
  insertdata.remainder = getCLconfig?.remainder || [];
1010
1010
  insertdata.approver = getCLconfig?.approver || [];
1011
1011
  insertdata.restrictAttendance = getCLconfig?.restrictAttendance;
1012
+ insertdata.coverage = getCLconfig?.coverage;
1012
1013
  let collectSections = [];
1013
1014
  let sectionQuery = [];
1014
1015
  sectionQuery.push( {
@@ -1252,6 +1253,7 @@ async function insertPCBulkV3( getCLconfig, checklistId, updatedchecklist, date,
1252
1253
  element4.priorityType = getCLconfig.priorityType;
1253
1254
  element4.remainder = getCLconfig?.remainder || [];
1254
1255
  element4.restrictAttendance = getCLconfig?.restrictAttendance;
1256
+ element4.coverage = getCLconfig?.coverage;
1255
1257
  assignUserList.push( element4 );
1256
1258
  }
1257
1259
  } ) );
@@ -3843,7 +3845,7 @@ export async function taskAssign( req, res ) {
3843
3845
  clientId: req.body.clientId,
3844
3846
  };
3845
3847
  let uploadData = await assignUsers( assignedData );
3846
- if ( uploadData.length ) {
3848
+ if ( uploadData?.length ) {
3847
3849
  uniqueArr.push( ...uploadData );
3848
3850
  }
3849
3851
  } ) );