fixed missing features
This commit is contained in:
@@ -66,10 +66,8 @@ class ResolveTicketBranchMatches
|
||||
$this->gitProviderManager
|
||||
->client($userGitConnection->provider)
|
||||
->listBranches(
|
||||
$userGitConnection->base_url,
|
||||
$userGitConnection->api_token,
|
||||
$repositoryConnection->owner_name,
|
||||
$repositoryConnection->repository_name,
|
||||
$repositoryConnection->toGitRepository(),
|
||||
),
|
||||
)
|
||||
->filter(fn (GitBranch $branch): bool => $this->ticketKeyReferenceMatcher->matches(
|
||||
@@ -85,7 +83,7 @@ class ResolveTicketBranchMatches
|
||||
$error = null;
|
||||
} catch (Throwable) {
|
||||
$branches = [];
|
||||
$error = 'KanbanGit could not load branches from this repository right now.';
|
||||
$error = ((string) config('app.name')).' could not load branches from this repository right now.';
|
||||
}
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user