]> git.mxchange.org Git - friendica.git/commitdiff
Fix #12757
authorMichael <heluecht@pirati.ca>
Tue, 31 Jan 2023 05:45:24 +0000 (05:45 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 31 Jan 2023 05:45:24 +0000 (05:45 +0000)
src/Module/ActivityPub/Inbox.php

index 4470040a9018ad4279323135c4419bcb22463d5e..3ca3c7d779da66a3a05745e7009148a6b1869f2a 100644 (file)
@@ -27,15 +27,22 @@ use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Model\User;
 use Friendica\Module\BaseApi;
+use Friendica\Module\Special\HTTPException;
 use Friendica\Protocol\ActivityPub;
 use Friendica\Util\HTTPSignature;
 use Friendica\Util\Network;
+use Psr\Http\Message\ResponseInterface;
 
 /**
  * ActivityPub Inbox
  */
 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 = [])
        {
                self::checkAllowedScope(self::SCOPE_READ);