summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/system.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-08 16:48:52 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-08 16:48:52 +0100
commit201847de4d282acafd5fb8c969f077d713d1bdf1 (patch)
tree2ee51f526ed63d2620a7b8faef8fac69b74da0fc /server/sonar-web/src/main/js/api/system.js
parent34b14e12bebafed93d21ac620e7b2b5dc3ef7d55 (diff)
downloadsonarqube-201847de4d282acafd5fb8c969f077d713d1bdf1.tar.gz
sonarqube-201847de4d282acafd5fb8c969f077d713d1bdf1.zip
improve code quality
Diffstat (limited to 'server/sonar-web/src/main/js/api/system.js')
-rw-r--r--server/sonar-web/src/main/js/api/system.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/api/system.js b/server/sonar-web/src/main/js/api/system.js
index a1c3ca082ea..9ebf6aa5e6a 100644
--- a/server/sonar-web/src/main/js/api/system.js
+++ b/server/sonar-web/src/main/js/api/system.js
@@ -1,12 +1,12 @@
import { getJSON, post } from '../helpers/request';
export function setLogLevel (level) {
- let url = window.baseUrl + '/api/system/change_log_level';
- let data = { level };
+ const url = window.baseUrl + '/api/system/change_log_level';
+ const data = { level };
return post(url, data);
}
export function getSystemInfo () {
- let url = window.baseUrl + '/api/system/info';
+ const url = window.baseUrl + '/api/system/info';
return getJSON(url);
}