]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ActivityPub/Whoami.php
Use the post language for the language detection / config for quality
[friendica.git] / src / Module / ActivityPub / Whoami.php
index 67128d99c153e2c842336cf5651c9de2cfb6ef7e..d78f6e83f73958f4591ae82b5c1068f459044e90 100644 (file)
@@ -38,7 +38,7 @@ class Whoami extends BaseApi
         */
        protected function rawContent(array $request = [])
        {
-               self::checkAllowedScope(self::SCOPE_READ);
+               $this->checkAllowedScope(self::SCOPE_READ);
                $uid = self::getCurrentUserID();
 
                $owner = User::getOwnerDataById($uid);