Fixed some SonarQube issues.

This commit is contained in:
Yogesh Mahajan
2022-08-30 14:21:33 +05:30
committed by Akshay Joshi
parent af1e9210b9
commit 71a4b20d90
10 changed files with 94 additions and 133 deletions

View File

@@ -84,7 +84,7 @@ define('pgadmin.misc.cloud', [
const axiosApi = getApiInstance();
let _url = url_for('cloud.clear_cloud_session');
axiosApi.post(_url)
.then(() => {})
.then(() => {/*This is intentional (SonarQube)*/})
.catch((error) => {
Notifier.error(gettext(`Error while clearing cloud wizard data: ${error.response.data.errormsg}`));
});