tango-app-api-trax 3.4.1-alpha-0 → 3.4.1-beta-1
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
|
@@ -1754,6 +1754,7 @@ export async function submitChecklist( req, res ) {
|
|
|
1754
1754
|
let flagCount = QuestionFlag( req, res );
|
|
1755
1755
|
updateData.questionFlag = flagCount;
|
|
1756
1756
|
updateData.submitTime_string = currentDateTime.format( 'hh:mm A, DD MMM YYYY' );
|
|
1757
|
+
updateData.deviceDetails = requestData?.deviceDetails || {};
|
|
1757
1758
|
if ( requestData.submittype == 'draft' ) {
|
|
1758
1759
|
logger.info( `v5 => Checklist Save => store Name: ${getchecklist[0].storeName}, User Email: ${getchecklist[0].userEmail}, Checklist Name: ${getchecklist[0].checkListName}` );
|
|
1759
1760
|
updateData.questionAnswers = requestData.questionAnswers;
|
|
@@ -2557,6 +2558,7 @@ export async function questionList( req, res ) {
|
|
|
2557
2558
|
storeName: { $ifNull: [ '$storeName', '' ] },
|
|
2558
2559
|
redoStatus: { $ifNull: [ '$redoStatus', false ] },
|
|
2559
2560
|
rawImageUpload: { $ifNull: [ '$rawImageUpload', false ] },
|
|
2561
|
+
rawVideoUpload: { $ifNull: [ '$rawVideoUpload', false ] },
|
|
2560
2562
|
},
|
|
2561
2563
|
} );
|
|
2562
2564
|
|