tango-app-api-trax 3.7.14 → 3.7.16

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-trax",
3
- "version": "3.7.14",
3
+ "version": "3.7.16",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -3571,6 +3571,9 @@ export async function taskQuestionList( req, res ) {
3571
3571
  userEmail: { $ifNull: [ '$userEmail', '' ] },
3572
3572
  storeName: { $ifNull: [ '$storeName', '' ] },
3573
3573
  redoStatus: { $ifNull: [ '$redoStatus', false ] },
3574
+ rawImageUpload: { $ifNull: [ '$rawImageUpload', false ] },
3575
+ rawVideoUpload: { $ifNull: [ '$rawVideoUpload', false ] },
3576
+ videoUploadTimeLimit: { $ifNull: [ '$videoUploadTimeLimit', 0 ] },
3574
3577
  },
3575
3578
  } );
3576
3579
 
@@ -836,6 +836,9 @@ export const duplicateChecklist = async ( req, res ) => {
836
836
  dupDetails.updatedAt = new Date();
837
837
  dupDetails.publishDate = '';
838
838
  dupDetails.checkListNumber = dupDetails.checkListNumber+1;
839
+ dupDetails.rawImageUpload = false;
840
+ dupDetails.rawVideoUpload = false;
841
+ dupDetails.videoUploadTimeLimit = 0;
839
842
  delete dupDetails._id;
840
843
  // let logInsertData = {
841
844
  // action: 'duplicateChecklist',