Sai Teja - Add backend support for dedicated pause/resume permission#2161
Quality Gate failed
Failed conditions
30.7% Duplication on New Code (required ≤ 3%)
B Security Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 3400 in src/helpers/userHelper.js
sonarqubecloud / SonarCloud Code Analysis
Move async function 'getEmailRecipientsForStatusChange' to the outer scope.
See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AZ1wU6xwgLjtEvC7kt-g&open=AZ1wU6xwgLjtEvC7kt-g&pullRequest=2161
Check failure on line 73 in src/controllers/notificationController.spec.js
sonarqubecloud / SonarCloud Code Analysis
Unexpected `await` of a non-Promise (non-"Thenable") value.
See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AZ1wU6ttgLjtEvC7kt-c&open=AZ1wU6ttgLjtEvC7kt-c&pullRequest=2161
Check failure on line 131 in src/controllers/notificationController.spec.js
sonarqubecloud / SonarCloud Code Analysis
Unexpected `await` of a non-Promise (non-"Thenable") value.
See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AZ1wU6ttgLjtEvC7kt-e&open=AZ1wU6ttgLjtEvC7kt-e&pullRequest=2161
Check failure on line 121 in src/controllers/notificationController.spec.js
sonarqubecloud / SonarCloud Code Analysis
Unexpected `await` of a non-Promise (non-"Thenable") value.
See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AZ1wU6ttgLjtEvC7kt-d&open=AZ1wU6ttgLjtEvC7kt-d&pullRequest=2161
Check warning on line 1601 in src/controllers/userProfileController.js
sonarqubecloud / SonarCloud Code Analysis
Change this code to not log user-controlled data.
See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AZ1wW2h62e01MSbbdbzO&open=AZ1wW2h62e01MSbbdbzO&pullRequest=2161
Check failure on line 63 in src/controllers/notificationController.spec.js
sonarqubecloud / SonarCloud Code Analysis
Unexpected `await` of a non-Promise (non-"Thenable") value.
See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AZ1wU6ttgLjtEvC7kt-b&open=AZ1wU6ttgLjtEvC7kt-b&pullRequest=2161