tango-app-api-task 3.4.0-alpha-3 → 3.4.0-flag-0
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
|
@@ -1000,7 +1000,7 @@ export async function taskConfig( req, res ) {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
await checklistLogs.create( logInsertData );
|
|
1002
1002
|
|
|
1003
|
-
checklistDetails = await taskService.findOne( { _id: inputBody._id, isdeleted: false, client_id: inputBody.clientId
|
|
1003
|
+
checklistDetails = await taskService.findOne( { _id: inputBody._id, isdeleted: false, client_id: inputBody.clientId } );
|
|
1004
1004
|
|
|
1005
1005
|
if ( !checklistDetails ) {
|
|
1006
1006
|
return res.sendError( 'No data found', 204 );
|
|
@@ -2789,7 +2789,7 @@ export const updatePublish = async ( req, res ) => {
|
|
|
2789
2789
|
|
|
2790
2790
|
if ( req.body.checklistId ) {
|
|
2791
2791
|
query = { _id: req.body.checklistId };
|
|
2792
|
-
getCheckDetails = await taskService.findOne( { _id: req.body.checklistId, client_id: req.body.clientId
|
|
2792
|
+
getCheckDetails = await taskService.findOne( { _id: req.body.checklistId, client_id: req.body.clientId } );
|
|
2793
2793
|
}
|
|
2794
2794
|
|
|
2795
2795
|
if ( !getCheckDetails ) {
|