mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Fix a typo in differential.querydiffs
Summary: - "revision" is misspelled. - Remove an unused variable. Test Plan: Used API console to call method. Reviewers: btrahan, chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D7184
This commit is contained in:
parent
b21f197a98
commit
fc57995330
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ final class ConduitAPI_differential_querydiffs_Method
|
|||
public function defineParamTypes() {
|
||||
return array(
|
||||
'ids' => 'optional list<uint>',
|
||||
'revisonIDs' => 'optional list<uint>',
|
||||
'revisionIDs' => 'optional list<uint>',
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -28,8 +28,8 @@ final class ConduitAPI_differential_querydiffs_Method
|
|||
protected function execute(ConduitAPIRequest $request) {
|
||||
$ids = $request->getValue('ids', array());
|
||||
$revision_ids = $request->getValue('revisionIDs', array());
|
||||
|
||||
$diffs = array();
|
||||
$diff_dicts = array();
|
||||
if ($ids || $revision_ids) {
|
||||
$diffs = id(new DifferentialDiffQuery())
|
||||
->setViewer($request->getUser())
|
||||
|
|
Loading…
Reference in a new issue