aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2018-05-30 14:27:58 +0200
committersonartech <sonartech@sonarsource.com>2018-06-29 09:10:15 +0200
commit2e358e39922c415fd8b4664fa97fa6cb1d4f1ff0 (patch)
tree850379952b7ef71711b70910e1da44edfe04217a /server/sonar-web
parent7d56d0b2b288182336aca1931c5141684e6d57db (diff)
downloadsonarqube-2e358e39922c415fd8b4664fa97fa6cb1d4f1ff0.tar.gz
sonarqube-2e358e39922c415fd8b4664fa97fa6cb1d4f1ff0.zip
SONAR-10816 Create WS to administrate applications
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/api/application.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/application.ts b/server/sonar-web/src/main/js/api/application.ts
index 933756abb81..5821d5705be 100644
--- a/server/sonar-web/src/main/js/api/application.ts
+++ b/server/sonar-web/src/main/js/api/application.ts
@@ -27,5 +27,5 @@ export interface ApplicationLeak {
}
export function getApplicationLeak(application: string): Promise<Array<ApplicationLeak>> {
- return getJSON('/api/views/show_leak', { application }).then(r => r.leaks, throwGlobalError);
+ return getJSON('/api/applications/show_leak', { application }).then(r => r.leaks, throwGlobalError);
}