tango-app-api-task 3.7.35 → 3.7.36
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
|
@@ -7269,8 +7269,8 @@ export async function AITaskCreation( req, res ) {
|
|
|
7269
7269
|
if ( checklistDetails?.aiConfig?.autoTaskConfig.taskValidity?.type == 'hours' ) {
|
|
7270
7270
|
inputBody['scheduleEndData'] = dayjs.utc( `${date} ${time}`, 'YYYY-MM-DD hh:mm A' ).add( checklistDetails?.aiConfig?.autoTaskConfig.taskValidity.time, 'hour' ).format();
|
|
7271
7271
|
}
|
|
7272
|
-
if ( checklistDetails?.aiConfig?.autoTaskConfig.taskValidity?.type == '
|
|
7273
|
-
inputBody['scheduleEndData'] = dayjs.utc( `${date} ${time}`, 'YYYY-MM-DD hh:mm A' ).add( checklistDetails?.aiConfig?.autoTaskConfig.taskValidity, 'day' ).format();
|
|
7272
|
+
if ( checklistDetails?.aiConfig?.autoTaskConfig.taskValidity?.type == 'days' ) {
|
|
7273
|
+
inputBody['scheduleEndData'] = dayjs.utc( `${date} ${time}`, 'YYYY-MM-DD hh:mm A' ).add( checklistDetails?.aiConfig?.autoTaskConfig.taskValidity.time, 'day' ).format();
|
|
7274
7274
|
}
|
|
7275
7275
|
|
|
7276
7276
|
const inputDateTime = dayjs.utc( `${date} ${time}`, 'YYYY-MM-DD hh:mm A' );
|