tango-app-api-trax 3.7.83 → 3.7.84
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
|
@@ -229,7 +229,7 @@ export async function startChecklist( req, res ) {
|
|
|
229
229
|
},
|
|
230
230
|
questionAnswers: { $ifNull: [ '$questionAnswers', '' ] },
|
|
231
231
|
redoStatus: { $ifNull: [ '$redoStatus', '' ] },
|
|
232
|
-
export: { $ifNull: [ '$export',
|
|
232
|
+
export: { $ifNull: [ '$export', false ] },
|
|
233
233
|
},
|
|
234
234
|
} );
|
|
235
235
|
let getupdatedchecklist = await processedchecklist.aggregate( findQuery );
|
|
@@ -3457,7 +3457,7 @@ export async function questionList( req, res ) {
|
|
|
3457
3457
|
videoUploadTimeLimit: { $ifNull: [ '$videoUploadTimeLimit', 0 ] },
|
|
3458
3458
|
taskType: { $ifNull: [ '$planoType', '' ] },
|
|
3459
3459
|
streamId: { $ifNull: [ '$streamId', '' ] },
|
|
3460
|
-
export: { $ifNull: [ '$export',
|
|
3460
|
+
export: { $ifNull: [ '$export', false ] },
|
|
3461
3461
|
},
|
|
3462
3462
|
} );
|
|
3463
3463
|
|
|
@@ -291,7 +291,7 @@ export const checklistPerformance = async ( req, res ) => {
|
|
|
291
291
|
};
|
|
292
292
|
|
|
293
293
|
|
|
294
|
-
let complianceURL =
|
|
294
|
+
let complianceURL = JSON.parse( process.env.LAMBDAURL ).complianceURL;
|
|
295
295
|
const complianceData = await LamdaServiceCall( complianceURL, detectionPayload );
|
|
296
296
|
if ( complianceData?.data?.length && requestData?.sortColumnName == 'questionCompliance' ) {
|
|
297
297
|
const end = skip + requestData?.limit;
|