diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 16:48:52 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 16:48:52 +0100 |
commit | 201847de4d282acafd5fb8c969f077d713d1bdf1 (patch) | |
tree | 2ee51f526ed63d2620a7b8faef8fac69b74da0fc /server/sonar-web/src/main/js/api/system.js | |
parent | 34b14e12bebafed93d21ac620e7b2b5dc3ef7d55 (diff) | |
download | sonarqube-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.js | 6 |
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); } |