tango-app-api-task 3.7.40 → 3.7.41

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.40",
3
+ "version": "3.7.41",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -7335,7 +7335,7 @@ export async function AITaskCreation( req, res ) {
7335
7335
  }
7336
7336
 
7337
7337
  // Check this Task Already Exist////
7338
- let checkTask = await taskService.findOne( { checkListName: inputBody.taskName } );
7338
+ let checkTask = await taskService.findOne( { checkListName: inputBody.taskName, client_id: req.body.clientId } );
7339
7339
  if ( checkTask ) {
7340
7340
  let singleInsert = await insertAItaskProcessedTaskCreation( checkTask, inputBody, date, time, storeData, finduser, answer, userAdmin );
7341
7341
  if ( singleInsert ) {