fix: Personal Gitlab repos
This commit is contained in:
parent
f78ea5de07
commit
48f952c798
1 changed files with 4 additions and 1 deletions
|
|
@ -235,8 +235,11 @@
|
|||
|
||||
const url = `/applications/${id}/configuration/repository.json`;
|
||||
try {
|
||||
const repository = `${selected.group.full_path.replace('-personal', '')}/${
|
||||
selected.project.name
|
||||
}`;
|
||||
await post(url, {
|
||||
repository: `${selected.group.full_path}/${selected.project.name}`,
|
||||
repository,
|
||||
branch: selected.branch.name,
|
||||
projectId: selected.project.id,
|
||||
webhookToken
|
||||
|
|
|
|||
Loading…
Reference in a new issue