diff options
-rw-r--r-- | include/api.hpp | 3 | ||||
-rw-r--r-- | src/api.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/api.hpp b/include/api.hpp index b37d282..5d0cbe1 100644 --- a/include/api.hpp +++ b/include/api.hpp @@ -31,7 +31,7 @@ using std::variant; /*! * @brief Holds %API endpoints. * - * Supported %API endpoints: Mastodon 3.0.1, Pleroma 2.0.0. + * Supported %API endpoints: Mastodon 3.0.1, Pleroma 2.0.2. * * @since 0.1.0 * @@ -271,6 +271,7 @@ public: admin_users_revoke_invite, admin_users_email_invite, admin_users_nickname_password_reset, + admin_users_nickname_update_credentials, admin_users_force_password_reset, admin_reports, admin_grouped_reports, diff --git a/src/api.cpp b/src/api.cpp index e15dd73..a86dbad 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -234,6 +234,8 @@ const map<API::endpoint_type,string_view> API::_endpoint_map "/api/pleroma/admin/users/email_invite"}, {pleroma::admin_users_nickname_password_reset, "/api/pleroma/admin/users/<NICKNAME>/password_reset"}, + {pleroma::admin_users_nickname_update_credentials, + "/api/pleroma/admin/users/<NICKNAME>/update_credentials"}, {pleroma::admin_users_force_password_reset, "/api/pleroma/admin/users/force_password_reset"}, {pleroma::admin_reports, "/api/pleroma/admin/reports"}, |