From 2fad0bfc3b20e8effb7e192d1eab210419149236 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 18 Oct 2017 11:52:57 +0200 Subject: Set branches WS as public and fix description --- server/sonar-web/src/main/js/api/branches.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-web/src') diff --git a/server/sonar-web/src/main/js/api/branches.ts b/server/sonar-web/src/main/js/api/branches.ts index ec3e79e0932..fa0e7a12061 100644 --- a/server/sonar-web/src/main/js/api/branches.ts +++ b/server/sonar-web/src/main/js/api/branches.ts @@ -28,6 +28,6 @@ export function deleteBranch(project: string, branch: string): Promise { - return post('/api/project_branches/rename', { project, branch }).catch(throwGlobalError); +export function renameBranch(project: string, name: string): Promise { + return post('/api/project_branches/rename', { project, name }).catch(throwGlobalError); } -- cgit v1.2.3