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