]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Mastodon/Media.php
Issue 12191: We can now follow and unfollow tags via API
[friendica.git] / src / Module / Api / Mastodon / Media.php
index 03c3a49c436f9f7722714c2766ab6e4126e6d88e..1253026fdd07f3be03a857b605ba5c1e36915854 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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();