mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-22 03:29:11 +01:00
Fix a method call in arcanist.projectinfo
Summary: This got updated recently but isn't quite correct. Test Plan: Called `arcanist.projectinfo` using the name of a proejct with a repository association. Reviewers: btrahan NOTE: Cowboy committing this since it breaks `arc diff`.
This commit is contained in:
parent
55c00ebfa1
commit
7789335fb3
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ final class ArcanistProjectInfoConduitAPIMethod
|
||||||
if ($project->getRepositoryID()) {
|
if ($project->getRepositoryID()) {
|
||||||
$repository = id(new PhabricatorRepositoryQuery())
|
$repository = id(new PhabricatorRepositoryQuery())
|
||||||
->setViewer($request->getUser())
|
->setViewer($request->getUser())
|
||||||
->withRepositoryIDs(array($project->getRepositoryID()))
|
->withIDs(array($project->getRepositoryID()))
|
||||||
->executeOne();
|
->executeOne();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue