aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/nav.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/nav.js')
-rw-r--r--server/sonar-web/src/main/js/api/nav.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/api/nav.js b/server/sonar-web/src/main/js/api/nav.js
index 61e7e75ce3f..03c79ab60cc 100644
--- a/server/sonar-web/src/main/js/api/nav.js
+++ b/server/sonar-web/src/main/js/api/nav.js
@@ -1,17 +1,17 @@
import { getJSON } from '../helpers/request.js';
export function getGlobalNavigation () {
- let url = baseUrl + '/api/navigation/global';
+ const url = baseUrl + '/api/navigation/global';
return getJSON(url);
}
export function getComponentNavigation (componentKey) {
- let url = baseUrl + '/api/navigation/component';
- let data = { componentKey };
+ const url = baseUrl + '/api/navigation/component';
+ const data = { componentKey };
return getJSON(url, data);
}
export function getSettingsNavigation () {
- let url = baseUrl + '/api/navigation/settings';
+ const url = baseUrl + '/api/navigation/settings';
return getJSON(url);
}