summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-01-11 15:52:29 +0100
committertastytea2020-01-11 15:56:16 +0100
commit5051664136357bb38dc235084e82c4d741f25c3f (patch)
tree4b4d6331d00266d0bb3ee1f1c9b52d821a7f7665
parentfc210142f5fa8959bb992c175119054080efef37 (diff)
downloadmastodonpp-5051664136357bb38dc235084e82c4d741f25c3f.tar
mastodonpp-5051664136357bb38dc235084e82c4d741f25c3f.tar.gz
mastodonpp-5051664136357bb38dc235084e82c4d741f25c3f.zip
Fixed some pleroma endpoints.
-rw-r--r--include/api.hpp6
-rw-r--r--src/api.cpp7
2 files changed, 6 insertions, 7 deletions
diff --git a/include/api.hpp b/include/api.hpp
index 7c89af4..aab5f41 100644
--- a/include/api.hpp
+++ b/include/api.hpp
@@ -281,9 +281,9 @@ public:
disable_account,
account_register,
- pleroma_notification_settings,
- pleroma_healthcheck,
- pleroma_change_email
+ notification_settings,
+ healthcheck,
+ change_email
};
/*!
diff --git a/src/api.cpp b/src/api.cpp
index cb60a8b..78ffdcc 100644
--- a/src/api.cpp
+++ b/src/api.cpp
@@ -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