tango-app-api-trax 3.3.1-beta-74 → 3.3.1-beta-75

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-trax",
3
- "version": "3.3.1-beta-74",
3
+ "version": "3.3.1-beta-75",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2481,7 +2481,7 @@ export async function checklistv1( req, res ) {
2481
2481
  const totalData = [ ...checklistData, ...taskData ];
2482
2482
 
2483
2483
  if ( !totalData.length ) {
2484
- return res.sendError( { error: 'No Data Found' }, 204 );
2484
+ return res.sendSuccess( { count: 0, data: [] } );
2485
2485
  }
2486
2486
 
2487
2487
  const getSortingParams = ( status ) => {