tango-app-api-trax 3.5.0-alpha-9 → 3.5.0-alpha-10
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.5.0-alpha-
|
|
3
|
+
"version": "3.5.0-alpha-10",
|
|
4
4
|
"description": "Trax",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"mongodb": "^6.8.0",
|
|
27
27
|
"nodemon": "^3.1.4",
|
|
28
28
|
"path": "^0.12.7",
|
|
29
|
-
"tango-api-schema": "^2.2.
|
|
29
|
+
"tango-api-schema": "^2.2.116",
|
|
30
30
|
"tango-app-api-middleware": "^3.1.72",
|
|
31
31
|
"url": "^0.11.4",
|
|
32
32
|
"winston": "^3.13.1",
|
|
@@ -2132,7 +2132,7 @@ export async function submiteyeTestTask( req, res ) {
|
|
|
2132
2132
|
return res.sendError( 'Qr code already Exists', 400 );
|
|
2133
2133
|
}
|
|
2134
2134
|
|
|
2135
|
-
await cameraService.updateOne( { streamName: streamId }, { qrCode: qrCode } );
|
|
2135
|
+
await cameraService.updateOne( { streamName: streamId }, { qrCode: qrCode,isEyeTestStream:true } );
|
|
2136
2136
|
return res.sendSuccess( 'Qr code added successfully' );
|
|
2137
2137
|
|
|
2138
2138
|
const findQuery = [
|
|
@@ -2753,8 +2753,8 @@ export async function checklistv1( req, res ) {
|
|
|
2753
2753
|
};
|
|
2754
2754
|
|
|
2755
2755
|
const [ checklistResult, taskResult ] = await Promise.allSettled( [
|
|
2756
|
-
processedchecklist.aggregate( buildPipeline( [ { checkListType: 'custom' } ], { isPlano: 1, planoId: 1, planoType: 1
|
|
2757
|
-
processedTask.aggregate( buildPipeline( [], { isPlano: 1, planoId: 1, planoType: 1
|
|
2756
|
+
processedchecklist.aggregate( buildPipeline( [ { checkListType: 'custom' } ], { isPlano: 1, planoId: 1, planoType: 1 } ) ),
|
|
2757
|
+
processedTask.aggregate( buildPipeline( [], { isPlano: 1, planoId: 1, planoType: 1 } ) ),
|
|
2758
2758
|
] );
|
|
2759
2759
|
|
|
2760
2760
|
const checklistData = checklistResult.status === 'fulfilled' ? checklistResult.value : [];
|