Fixed some pleroma endpoints.
This commit is contained in:
parent
fc210142f5
commit
5051664136
|
@ -281,9 +281,9 @@ public:
|
||||||
disable_account,
|
disable_account,
|
||||||
account_register,
|
account_register,
|
||||||
|
|
||||||
pleroma_notification_settings,
|
notification_settings,
|
||||||
pleroma_healthcheck,
|
healthcheck,
|
||||||
pleroma_change_email
|
change_email
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
@ -239,10 +239,9 @@ const map<API::endpoint_type,string_view> API::_endpoint_map
|
||||||
{pleroma::disable_account, "/api/pleroma/disable_account"},
|
{pleroma::disable_account, "/api/pleroma/disable_account"},
|
||||||
{pleroma::account_register, "/api/pleroma/account/register"},
|
{pleroma::account_register, "/api/pleroma/account/register"},
|
||||||
|
|
||||||
{pleroma::pleroma_notification_settings,
|
{pleroma::notification_settings, "/api/pleroma/notification_settings"},
|
||||||
"/api/pleroma/pleroma/notification_settings"},
|
{pleroma::healthcheck, "/api/pleroma/healthcheck"},
|
||||||
{pleroma::pleroma_healthcheck, "/api/pleroma/pleroma/healthcheck"},
|
{pleroma::change_email, "/api/pleroma/change_email"},
|
||||||
{pleroma::pleroma_change_email, "/api/pleroma/pleroma/change_email"},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mastodonpp
|
} // namespace mastodonpp
|
||||||
|
|
Loading…
Reference in New Issue
Block a user