Skip to content

Commit 2f87c5e

Browse files
committed
[HMSDEV-213] Fixing bug with namespace attr on getRepository
1 parent 605b5a6 commit 2f87c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/GitLab/GitLabPlatform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function getRepository(string $idOrName, string $namespace = null): GitRe
6363
{
6464
$namespace = $namespace ?? $this->defaultRepoNamespace;
6565
if (!is_numeric($idOrName) && $namespace !== '') {
66-
$idOrName = $this->defaultRepoNamespace.'/'.$idOrName;
66+
$idOrName = $namespace.'/'.$idOrName;
6767
}
6868

6969
try {

0 commit comments

Comments
 (0)