mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Update src/Module/Api/Mastodon/Unimplemented.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
db5cd6e66c
commit
615eece22f
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue