Fix #12757
This commit is contained in:
parent
b90d6a5638
commit
a3d645645a
1 changed files with 7 additions and 0 deletions
|
@ -27,15 +27,22 @@ use Friendica\Database\DBA;
|
||||||
use Friendica\DI;
|
use Friendica\DI;
|
||||||
use Friendica\Model\User;
|
use Friendica\Model\User;
|
||||||
use Friendica\Module\BaseApi;
|
use Friendica\Module\BaseApi;
|
||||||
|
use Friendica\Module\Special\HTTPException;
|
||||||
use Friendica\Protocol\ActivityPub;
|
use Friendica\Protocol\ActivityPub;
|
||||||
use Friendica\Util\HTTPSignature;
|
use Friendica\Util\HTTPSignature;
|
||||||
use Friendica\Util\Network;
|
use Friendica\Util\Network;
|
||||||
|
use Psr\Http\Message\ResponseInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ActivityPub Inbox
|
* ActivityPub Inbox
|
||||||
*/
|
*/
|
||||||
class Inbox extends BaseApi
|
class Inbox extends BaseApi
|
||||||
{
|
{
|
||||||
|
public function run(HTTPException $httpException, array $request = [], bool $scopecheck = true): ResponseInterface
|
||||||
|
{
|
||||||
|
return parent::run($httpException, $request, false);
|
||||||
|
}
|
||||||
|
|
||||||
protected function rawContent(array $request = [])
|
protected function rawContent(array $request = [])
|
||||||
{
|
{
|
||||||
self::checkAllowedScope(self::SCOPE_READ);
|
self::checkAllowedScope(self::SCOPE_READ);
|
||||||
|
|
Loading…
Reference in a new issue