tango-app-api-task 3.7.16 → 3.7.17

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.16",
3
+ "version": "3.7.17",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -5084,6 +5084,7 @@ export async function taskcreation( req, res ) {
5084
5084
  let clientDetails = await clientService.findOne( { clientId: inputBody?.clientId }, { traxVideoUploadTimeLimit: 1 } );
5085
5085
  data['videoUploadTimeLimit'] = clientDetails?.traxVideoUploadTimeLimit || 0;
5086
5086
  data['approver'] = userAdmin;
5087
+ data['rawImageUpload'] = inputBody.rawImageUpload;
5087
5088
 
5088
5089
  let response = await taskService.create( data );
5089
5090
  if ( response?.approver.length ) {
@@ -60,6 +60,7 @@ export const taskcreationSchema = Joi.object().keys( {
60
60
  user: Joi.string().required(),
61
61
  questions: Joi.array().items( questionSchema ).required(),
62
62
  scheduleDate: Joi.string().optional(),
63
+ rawImageUpload: Joi.boolean().optional(),
63
64
  scheduleEndTime: Joi.string().optional(),
64
65
  approver: Joi.string().required(),
65
66
  creator: Joi.string().required(),