mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Added two fields to be returned from differential.find
Summary: Add the two fields in the conduit call. Test Plan: Called it with two user phids and verified the added fields are returned. Reviewed By: aran Reviewers: tuomaspelkonen, aran CC: aran Differential Revision: 267
This commit is contained in:
parent
f9f8ef0e6e
commit
a457f85101
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ class ConduitAPI_differential_find_Method extends ConduitAPIMethod {
|
||||||
'id' => $revision->getID(),
|
'id' => $revision->getID(),
|
||||||
'phid' => $revision->getPHID(),
|
'phid' => $revision->getPHID(),
|
||||||
'name' => $revision->getTitle(),
|
'name' => $revision->getTitle(),
|
||||||
|
'dateCreated' => $revision->getDateCreated(),
|
||||||
|
'authorPHID' => $revision->getAuthorPHID(),
|
||||||
'statusName' => DifferentialRevisionStatus::getNameForRevisionStatus(
|
'statusName' => DifferentialRevisionStatus::getNameForRevisionStatus(
|
||||||
$revision->getStatus()),
|
$revision->getStatus()),
|
||||||
'sourcePath' => $diff->getSourcePath(),
|
'sourcePath' => $diff->getSourcePath(),
|
||||||
|
|
Loading…
Reference in a new issue