tango-app-api-audit 3.6.56 → 3.6.57

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-audit",
3
- "version": "3.6.56",
3
+ "version": "3.6.57",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -45,8 +45,6 @@ export async function validateUserAudit( req, res, next ) {
45
45
  const userAuditDetails = await findOneUserAudit( { _id: inputData.auditId } );
46
46
  if ( !userAuditDetails ) {
47
47
  return res.sendError( 'No Data Available' );
48
- } else if ( userAuditDetails && userAuditDetails.auditStatus == 'completed' ) {
49
- return res.sendError( 'The Audit file has been already submitted', 403 );
50
48
  } else if ( userAuditDetails && userAuditDetails.auditStatus == 'skipped' ) {
51
49
  return res.sendError( 'The Audit file Assigned to some one else', 203 );
52
50
  } else {