tango-app-api-task 3.7.42 → 3.7.43

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.7.42",
3
+ "version": "3.7.43",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -6072,6 +6072,10 @@ async function insertStoreHygienetaskSingleProcessedTask( checkTask, inputBody,
6072
6072
  },
6073
6073
  ];
6074
6074
 
6075
+ if ( inputBody?.detectionTime ) {
6076
+ question[0].answers[0].detectionTime = inputBody.detectionTime;
6077
+ }
6078
+
6075
6079
  let images = [];
6076
6080
  for ( let imgpath of inputBody.referenceImage ) {
6077
6081
  let configURL = JSON.parse( process.env.BUCKET );
@@ -24,6 +24,7 @@ export const StoreHygienetaskSchema = Joi.object().keys( {
24
24
  zoneName: Joi.string().required(),
25
25
  clientId: Joi.string().optional(),
26
26
  streamId: Joi.string().optional(),
27
+ detectionTime: Joi.string().optional(),
27
28
  } );
28
29
 
29
30