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'])); } }