mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Minor, fix a method call in deprecated paste.info.
This commit is contained in:
parent
1d72cde41f
commit
6c5a23d85c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ final class ConduitAPI_paste_info_Method extends ConduitAPI_paste_Method {
|
||||||
$paste_id = $request->getValue('paste_id');
|
$paste_id = $request->getValue('paste_id');
|
||||||
$paste = id(new PhabricatorPasteQuery())
|
$paste = id(new PhabricatorPasteQuery())
|
||||||
->setViewer($request->getUser())
|
->setViewer($request->getUser())
|
||||||
->withObjectIDs(array($paste_id))
|
->withIDs(array($paste_id))
|
||||||
->needContent(true)
|
->needContent(true)
|
||||||
->executeOne();
|
->executeOne();
|
||||||
if (!$paste) {
|
if (!$paste) {
|
||||||
|
|
Loading…
Reference in a new issue