]> git.mxchange.org Git - friendica.git/commitdiff
Return the application fields
authorMichael <heluecht@pirati.ca>
Thu, 10 Jun 2021 08:05:21 +0000 (08:05 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 10 Jun 2021 08:05:21 +0000 (08:05 +0000)
src/Module/Api/Mastodon/Apps/VerifyCredentials.php

index eee15bc2abd043b85075d871bbcfaf4d5def41f9..e4105f142f2df0e57e1a2ff8683fd60936834ae4 100644 (file)
@@ -39,6 +39,6 @@ class VerifyCredentials extends BaseApi
                        DI::mstdnError()->Unauthorized();
                }
 
-               System::jsonExit($application['id']);
+               System::jsonExit(DI::mstdnApplication()->createFromApplicationId($application['id']));
        }
 }