tango-app-api-task 3.6.2-bulktask-4 → 3.6.2-bulktask-5

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.6.2-bulktask-4",
3
+ "version": "3.6.2-bulktask-5",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2086,7 +2086,7 @@ export async function createChecklistTask( req, res ) {
2086
2086
  console.log( 'logData', logData );
2087
2087
  await insertOpenSearchData( urlopensearch.traxActivityLog, logData );
2088
2088
  }
2089
- await insertSingleProcessData( response?._id );
2089
+ await insertSingleProcessData( response?._id, false, inputBody, 'gallery' );
2090
2090
  return res.sendSuccess( 'Task created successfully' );
2091
2091
  }
2092
2092
  } catch ( e ) {
@@ -2154,7 +2154,7 @@ export async function createChecklistMultiTask( req, res ) {
2154
2154
  restrictAttendance: req.body.restrictAttendance,
2155
2155
  allowedStoreLocation: req.body.allowedStoreLocation,
2156
2156
  };
2157
-
2157
+ console.log( data );
2158
2158
  if ( req.user.userType == 'tango' || ( req.user.userType == 'client' && [ 'user' ].includes( req.user.role ) ) ) {
2159
2159
  let userList = await userService.findOne( { clientId: inputBody.clientId, role: 'superadmin' }, { userName: 1, email: 1 } );
2160
2160
  if ( userList ) {