fix: Personal Gitlab repos

This commit is contained in:
Andras Bacsai 2022-03-11 20:47:26 +01:00
parent f78ea5de07
commit 48f952c798

View File

@ -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