Replaced $_REQUEST

This commit is contained in:
Michael 2022-01-16 17:03:18 +00:00
parent 344d514857
commit dd8d49d9cf
3 changed files with 12 additions and 13 deletions

View file

@ -37,7 +37,7 @@ class Media extends BaseApi
self::checkAllowedScope(self::SCOPE_WRITE);
$uid = self::getCurrentUserID();
Logger::info('Photo post', ['request' => $_REQUEST, 'files' => $_FILES]);
Logger::info('Photo post', ['request' => $request, 'files' => $_FILES]);
if (empty($_FILES['file'])) {
DI::mstdnError()->UnprocessableEntity();