From: Michael Date: Thu, 10 Jun 2021 08:05:21 +0000 (+0000) Subject: Return the application fields X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6dc2988c0fd0bd755824347d82541e2c55f1c7ac;p=friendica.git Return the application fields --- diff --git a/src/Module/Api/Mastodon/Apps/VerifyCredentials.php b/src/Module/Api/Mastodon/Apps/VerifyCredentials.php index eee15bc2ab..e4105f142f 100644 --- a/src/Module/Api/Mastodon/Apps/VerifyCredentials.php +++ b/src/Module/Api/Mastodon/Apps/VerifyCredentials.php @@ -39,6 +39,6 @@ class VerifyCredentials extends BaseApi DI::mstdnError()->Unauthorized(); } - System::jsonExit($application['id']); + System::jsonExit(DI::mstdnApplication()->createFromApplicationId($application['id'])); } }