Wrong class path
This commit is contained in:
parent
8bf80c92bd
commit
081652e09a
|
@ -29,7 +29,7 @@ use Friendica\Module\BaseApi;
|
||||||
/**
|
/**
|
||||||
* @see https://docs.joinmastodon.org/methods/timelines/conversations/
|
* @see https://docs.joinmastodon.org/methods/timelines/conversations/
|
||||||
*/
|
*/
|
||||||
class Conversation extends BaseApi
|
class Conversations extends BaseApi
|
||||||
{
|
{
|
||||||
public static function delete(array $parameters = [])
|
public static function delete(array $parameters = [])
|
||||||
{
|
{
|
|
@ -19,7 +19,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Friendica\Module\Api\Mastodon\Conversation;
|
namespace Friendica\Module\Api\Mastodon\Conversations;
|
||||||
|
|
||||||
use Friendica\Core\System;
|
use Friendica\Core\System;
|
||||||
use Friendica\Database\DBA;
|
use Friendica\Database\DBA;
|
||||||
|
|
|
@ -90,9 +90,9 @@ return [
|
||||||
'/apps/verify_credentials' => [Module\Api\Mastodon\Apps\VerifyCredentials::class, [R::GET ]],
|
'/apps/verify_credentials' => [Module\Api\Mastodon\Apps\VerifyCredentials::class, [R::GET ]],
|
||||||
'/blocks' => [Module\Api\Mastodon\Blocks::class, [R::GET ]],
|
'/blocks' => [Module\Api\Mastodon\Blocks::class, [R::GET ]],
|
||||||
'/bookmarks' => [Module\Api\Mastodon\Bookmarks::class, [R::GET ]],
|
'/bookmarks' => [Module\Api\Mastodon\Bookmarks::class, [R::GET ]],
|
||||||
'/conversations' => [Module\Api\Mastodon\Conversation::class, [R::GET ]],
|
'/conversations' => [Module\Api\Mastodon\Conversations::class, [R::GET ]],
|
||||||
'/conversations/{id:\d+}' => [Module\Api\Mastodon\Conversation::class, [R::DELETE ]],
|
'/conversations/{id:\d+}' => [Module\Api\Mastodon\Conversations::class, [R::DELETE ]],
|
||||||
'/conversations/{id:\d+}/read' => [Module\Api\Mastodon\Conversation\Read::class, [R::POST ]],
|
'/conversations/{id:\d+}/read' => [Module\Api\Mastodon\Conversations\Read::class, [R::POST ]],
|
||||||
'/custom_emojis' => [Module\Api\Mastodon\CustomEmojis::class, [R::GET ]],
|
'/custom_emojis' => [Module\Api\Mastodon\CustomEmojis::class, [R::GET ]],
|
||||||
'/domain_blocks' => [Module\Api\Mastodon\Unimplemented::class, [R::GET, R::POST, R::DELETE]], // not supported
|
'/domain_blocks' => [Module\Api\Mastodon\Unimplemented::class, [R::GET, R::POST, R::DELETE]], // not supported
|
||||||
'/directory' => [Module\Api\Mastodon\Directory::class, [R::GET ]],
|
'/directory' => [Module\Api\Mastodon\Directory::class, [R::GET ]],
|
||||||
|
|
Loading…
Reference in a new issue