diff options
author | Guillaume Peoc'h <guillaume.peoch@sonarsource.com> | 2022-10-27 16:57:58 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-01 20:03:09 +0000 |
commit | ef563f2a2e98629a8be54164e43095d672762c3c (patch) | |
tree | e23dc4147d924596b7354f0bc91ed044aa0f4a10 /server/sonar-web/src/main/js/api/components.ts | |
parent | f437fd1533e60cdad6adab04514f44d13334209d (diff) | |
download | sonarqube-ef563f2a2e98629a8be54164e43095d672762c3c.tar.gz sonarqube-ef563f2a2e98629a8be54164e43095d672762c3c.zip |
SONAR-17527 Add main branch name during manual project creation
Diffstat (limited to 'server/sonar-web/src/main/js/api/components.ts')
-rw-r--r-- | server/sonar-web/src/main/js/api/components.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/components.ts b/server/sonar-web/src/main/js/api/components.ts index ea9c6f2621e..d05d132b1f7 100644 --- a/server/sonar-web/src/main/js/api/components.ts +++ b/server/sonar-web/src/main/js/api/components.ts @@ -86,6 +86,7 @@ export function deletePortfolio(portfolio: string): Promise<void | Response> { export function createProject(data: { name: string; project: string; + mainBranch: string; visibility?: Visibility; }): Promise<{ project: ProjectBase }> { return postJSON('/api/projects/create', data).catch(throwGlobalError); |