mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
Fix a missing setViewer() in differential.getrevision
Summary: DiffQuery now requires this. Auditors: btrahan
This commit is contained in:
parent
bf14bb45f1
commit
806ba1e7a1
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ final class ConduitAPI_differential_getrevision_Method
|
|||
$reviewer_phids = array_values($revision->getReviewers());
|
||||
|
||||
$diffs = id(new DifferentialDiffQuery())
|
||||
->setViewer($request->getUser())
|
||||
->withRevisionIDs(array($revision_id))
|
||||
->needChangesets(true)
|
||||
->needArcanistProjects(true)
|
||||
|
|
Loading…
Reference in a new issue