tango-app-api-task 3.7.22 → 3.7.24
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
|
@@ -5576,7 +5576,7 @@ export async function StoreHygienetask( req, res ) {
|
|
|
5576
5576
|
}
|
|
5577
5577
|
// return res.sendError( 'No user Found For this store', 500 );
|
|
5578
5578
|
}
|
|
5579
|
-
|
|
5579
|
+
finduser = finduser?.toObject();
|
|
5580
5580
|
userId = finduser.userId;
|
|
5581
5581
|
inputBody.userName = finduser.userName;
|
|
5582
5582
|
inputBody.userEmail = finduser.userEmail;
|
|
@@ -5770,7 +5770,7 @@ export async function StoreHygienetask( req, res ) {
|
|
|
5770
5770
|
state: storeDetails?.storeProfile?.state,
|
|
5771
5771
|
};
|
|
5772
5772
|
await taskAssignService.create( userDetails );
|
|
5773
|
-
await insertSingleProcessData( response?._id );
|
|
5773
|
+
await insertSingleProcessData( response?._id, false, { aiTask: true } );
|
|
5774
5774
|
return res.sendSuccess( 'Task created successfully' );
|
|
5775
5775
|
}
|
|
5776
5776
|
}
|