1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +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:
jungejason 2011-05-10 14:44:40 -07:00
parent f9f8ef0e6e
commit a457f85101

View file

@ -70,6 +70,8 @@ class ConduitAPI_differential_find_Method extends ConduitAPIMethod {
'id' => $revision->getID(),
'phid' => $revision->getPHID(),
'name' => $revision->getTitle(),
'dateCreated' => $revision->getDateCreated(),
'authorPHID' => $revision->getAuthorPHID(),
'statusName' => DifferentialRevisionStatus::getNameForRevisionStatus(
$revision->getStatus()),
'sourcePath' => $diff->getSourcePath(),