diff --git a/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php b/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php index df9a28d00b..5745d182ce 100644 --- a/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php +++ b/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php @@ -76,7 +76,19 @@ class ConduitAPI_differential_getdiff_Method extends ConduitAPIMethod { $changeset->attachHunks($changeset->loadHunks()); } - return $diff->getDiffDict(); + $basic_dict = $diff->getDiffDict(); + + // for conduit calls, the basic dict is not enough + // we also need to include the arcanist project + $project = $diff->loadArcanistProject(); + if ($project) { + $project_name = $project->getName(); + } else { + $project_name = ''; + } + $basic_dict['projectName'] = $project_name; + + return $basic_dict; } }