]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Module/Api/Mastodon/Unimplemented.php
authorMichael Vogel <icarus@dabo.de>
Thu, 26 Nov 2020 13:35:06 +0000 (14:35 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Nov 2020 13:35:06 +0000 (14:35 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Module/Api/Mastodon/Unimplemented.php

index 3582f4b3b8472b844ef0f12675e633e4afc87287..c5adbe5d92984303475234aad124e2b2c5802d63 100644 (file)
@@ -41,7 +41,7 @@ class Unimplemented extends BaseApi
                Logger::info('Unimplemented API call', ['path' => $path]);
                $error = DI::l10n()->t('API endpoint "%s" is not implemented', $path);
                $error_description = DI::l10n()->t('The API endpoint is currently not implemented but might be in the future.');;
-               $errorobj = New \Friendica\Object\Api\Mastodon\Error($error, $error_description);
+               $errorobj = new \Friendica\Object\Api\Mastodon\Error($error, $error_description);
                System::jsonError(501, $errorobj->toArray());
        }
 }