1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-21 03:08:40 +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:
epriestley 2015-02-02 14:36:57 -08:00
parent 55c00ebfa1
commit 7789335fb3

View file

@ -42,7 +42,7 @@ final class ArcanistProjectInfoConduitAPIMethod
if ($project->getRepositoryID()) {
$repository = id(new PhabricatorRepositoryQuery())
->setViewer($request->getUser())
->withRepositoryIDs(array($project->getRepositoryID()))
->withIDs(array($project->getRepositoryID()))
->executeOne();
}