From 6dc2988c0fd0bd755824347d82541e2c55f1c7ac Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 10 Jun 2021 08:05:21 +0000 Subject: [PATCH] Return the application fields --- src/Module/Api/Mastodon/Apps/VerifyCredentials.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])); } }