mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 15:21:03 +01:00
[easy] add phid to repository.query
Summary: owners.query returns paths as (repo phid, path). That should get fixed in some non-breaking way, but for now just add phid to repository.query so I can support non-E repos. Would like to sneak this in before tomorrow's push Test Plan: http://phabricator.mkedia.dev4925.snc6.facebook.com/conduit/method/repository.query/ Reviewers: epriestley, nh, vrana Reviewed By: nh CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3001
This commit is contained in:
parent
4dd5bcf1cd
commit
1383683b1b
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ abstract class ConduitAPI_repository_Method extends ConduitAPIMethod {
|
|||
protected function buildDictForRepository(PhabricatorRepository $repository) {
|
||||
return array(
|
||||
'name' => $repository->getName(),
|
||||
'phid' => $repository->getPHID(),
|
||||
'callsign' => $repository->getCallsign(),
|
||||
'vcs' => $repository->getVersionControlSystem(),
|
||||
'uri' => PhabricatorEnv::getProductionURI($repository->getURI()),
|
||||
|
|
Loading…
Reference in a new issue