aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/metrics.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/metrics.js')
-rw-r--r--server/sonar-web/src/main/js/api/metrics.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/api/metrics.js b/server/sonar-web/src/main/js/api/metrics.js
index 9bb7cfb67ca..47583f6f4db 100644
--- a/server/sonar-web/src/main/js/api/metrics.js
+++ b/server/sonar-web/src/main/js/api/metrics.js
@@ -1,7 +1,7 @@
import { getJSON } from '../helpers/request.js';
export function getMetrics () {
- let url = baseUrl + '/api/metrics/search';
- let data = { ps: 9999 };
+ const url = baseUrl + '/api/metrics/search';
+ const data = { ps: 9999 };
return getJSON(url, data).then(r => r.metrics);
}