mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Add "uri" to the fields returned by "differential.revision.search"
Summary: Ref T13490. This simplifies mostly-theoretical cases where you're accessing Phabricator via arc-over-ssh and the Conduit protocol + domain may differ from the production protocol + domain. Test Plan: Called API via web UI, saw sensible URI values in results. Maniphest Tasks: T13490 Differential Revision: https://secure.phabricator.com/D21102
This commit is contained in:
parent
c3be82fe6e
commit
5597f4e6f2
1 changed files with 1 additions and 0 deletions
|
@ -1104,6 +1104,7 @@ final class DifferentialRevision extends DifferentialDAO
|
|||
|
||||
return array(
|
||||
'title' => $this->getTitle(),
|
||||
'uri' => PhabricatorEnv::getURI($this->getURI()),
|
||||
'authorPHID' => $this->getAuthorPHID(),
|
||||
'status' => $status_info,
|
||||
'repositoryPHID' => $this->getRepositoryPHID(),
|
||||
|
|
Loading…
Reference in a new issue