mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-20 03:31:10 +01:00
Wrong method name.
Auditors: btrahan
This commit is contained in:
parent
014a873773
commit
8735ec4dbe
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ final class ConduitAPI_differential_creatediff_Method extends ConduitAPIMethod {
|
|||
|
||||
$diff->setBranch($request->getValue('branch'));
|
||||
$diff->setCreationMethod($request->getValue('creationMethod'));
|
||||
$diff->setAuthorPHID($request->getViewer()->getPHID());
|
||||
$diff->setAuthorPHID($request->getUser()->getPHID());
|
||||
$diff->setBookmark($request->getValue('bookmark'));
|
||||
|
||||
// TODO: Remove this eventually; for now continue writing the UUID. Note
|
||||
|
@ -64,7 +64,7 @@ final class ConduitAPI_differential_creatediff_Method extends ConduitAPIMethod {
|
|||
$repository_phid = $request->getValue('repositoryPHID');
|
||||
if ($repository_phid) {
|
||||
$repository = id(new PhabricatorRepositoryQuery())
|
||||
->setViewer($request->getViewer())
|
||||
->setViewer($request->getUser())
|
||||
->withPHIDs(array($repository_phid))
|
||||
->executeOne();
|
||||
if ($repository) {
|
||||
|
|
Loading…
Reference in a new issue