fix: Gitlab repo url

This commit is contained in:
Andras Bacsai
2022-03-31 15:40:26 +02:00
parent 80f95a4674
commit 875e232199

View File

@@ -243,9 +243,7 @@
const url = `/applications/${id}/configuration/repository.json`; const url = `/applications/${id}/configuration/repository.json`;
try { try {
const repository = `${selected.group.full_path.replace('-personal', '')}/${ const repository = selected.project.path_with_namespace;
selected.project.name
}`;
await post(url, { await post(url, {
repository, repository,
branch: selected.branch.name, branch: selected.branch.name,