mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
include revision id in getdiff conduit call
Summary: we need to know the revision id in order to generate differential links. It would be amazing if there existed some library for object <-> network call mapping, and we could get all the information about an object given some unique ID rather than having to create a dictionary manually. One can dream... Test Plan: 1. setup on test phabricator instance 2. called differential.getdiff from client code with a valid diffid 3. verified that the correct revisionID was included Reviewed By: epriestley Reviewers: epriestley CC: dpepper, aran, epriestley, mgummelt Differential Revision: 795
This commit is contained in:
parent
b8e08f34f7
commit
d3b8389256
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ class ConduitAPI_differential_getdiff_Method extends ConduitAPIMethod {
|
|||
$dict = array(
|
||||
'id' => $diff->getID(),
|
||||
'parent' => $diff->getParentRevisionID(),
|
||||
'revisionID' => $diff->getRevisionID(),
|
||||
'sourceControlBaseRevision' => $diff->getSourceControlBaseRevision(),
|
||||
'sourceControlPath' => $diff->getSourceControlPath(),
|
||||
'changes' => array(),
|
||||
|
|
Loading…
Reference in a new issue