tango-app-api-task 3.7.41 → 3.7.42

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.41",
3
+ "version": "3.7.42",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -6124,6 +6124,9 @@ async function insertStoreHygienetaskSingleProcessedTask( checkTask, inputBody,
6124
6124
  newData.updatedAt = new Date();
6125
6125
  newData.questionAnswers = [ questions ];
6126
6126
  newData.zoneName = inputBody.zoneName || '';
6127
+ if ( inputBody?.streamId ) {
6128
+ newData.streamId = inputBody?.streamId;
6129
+ }
6127
6130
  newData.checkListType = 'task' || '';
6128
6131
  let insertprocessdata = await taskProcessedService.insert( newData );
6129
6132
  if ( insertprocessdata ) {
@@ -23,6 +23,7 @@ export const StoreHygienetaskSchema = Joi.object().keys( {
23
23
  referenceImage: Joi.array().required(),
24
24
  zoneName: Joi.string().required(),
25
25
  clientId: Joi.string().optional(),
26
+ streamId: Joi.string().optional(),
26
27
  } );
27
28
 
28
29