mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Use X-REQUEST-ID for Error pages
This commit is contained in:
parent
5584e7a4e5
commit
4f1bb0d274
55 changed files with 218 additions and 130 deletions
|
@ -26,6 +26,7 @@ use Friendica\Core\System;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Module\BaseApi;
|
||||
use Friendica\Module\Special\HTTPException;
|
||||
use Friendica\Security\OAuth;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
@ -36,9 +37,9 @@ use Psr\Http\Message\ResponseInterface;
|
|||
*/
|
||||
class Token extends BaseApi
|
||||
{
|
||||
public function run(array $request = [], bool $scopecheck = true): ResponseInterface
|
||||
public function run(HTTPException $httpException, array $request = [], bool $scopecheck = true): ResponseInterface
|
||||
{
|
||||
return parent::run($request, false);
|
||||
return parent::run($httpException, $request, false);
|
||||
}
|
||||
|
||||
protected function post(array $request = [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue