Fixed some pleroma endpoints.

This commit is contained in:
tastytea 2020-01-11 15:52:29 +01:00
parent fc210142f5
commit 5051664136
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 6 additions and 7 deletions

View File

@ -281,9 +281,9 @@ public:
disable_account,
account_register,
pleroma_notification_settings,
pleroma_healthcheck,
pleroma_change_email
notification_settings,
healthcheck,
change_email
};
/*!

View File

@ -239,10 +239,9 @@ const map<API::endpoint_type,string_view> API::_endpoint_map
{pleroma::disable_account, "/api/pleroma/disable_account"},
{pleroma::account_register, "/api/pleroma/account/register"},
{pleroma::pleroma_notification_settings,
"/api/pleroma/pleroma/notification_settings"},
{pleroma::pleroma_healthcheck, "/api/pleroma/pleroma/healthcheck"},
{pleroma::pleroma_change_email, "/api/pleroma/pleroma/change_email"},
{pleroma::notification_settings, "/api/pleroma/notification_settings"},
{pleroma::healthcheck, "/api/pleroma/healthcheck"},
{pleroma::change_email, "/api/pleroma/change_email"},
};
} // namespace mastodonpp