tango-app-api-task 3.7.21 → 3.7.22
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
|
@@ -5625,7 +5625,7 @@ export async function StoreHygienetask( req, res ) {
|
|
|
5625
5625
|
}
|
|
5626
5626
|
|
|
5627
5627
|
// Check this Task Already Exist////
|
|
5628
|
-
let checkTask = await taskService.findOne( { checkListName: inputBody.taskName } );
|
|
5628
|
+
let checkTask = await taskService.findOne( { checkListName: inputBody.taskName, client_id: inputBody.clientId } );
|
|
5629
5629
|
if ( checkTask ) {
|
|
5630
5630
|
let singleInsert = await insertStoreHygienetaskSingleProcessedTask( checkTask, inputBody, date, time, storeDetails, finduser, answer );
|
|
5631
5631
|
if ( singleInsert ) {
|