diff options
author | tastytea | 2020-01-11 16:13:14 +0100 |
---|---|---|
committer | tastytea | 2020-01-11 16:13:14 +0100 |
commit | c67c9db40cccc635f8b2261abb685e64d6e740b8 (patch) | |
tree | f180749e90d57c2aa61b2c0ae4661498fad02fb6 | |
parent | 5aa5bf4c9c9c01851acc5f96afc55e6c4c595121 (diff) | |
download | mastodonpp-c67c9db40cccc635f8b2261abb685e64d6e740b8.tar mastodonpp-c67c9db40cccc635f8b2261abb685e64d6e740b8.tar.gz mastodonpp-c67c9db40cccc635f8b2261abb685e64d6e740b8.zip |
Fix wrong endpoint translations.
-rw-r--r-- | src/api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api.cpp b/src/api.cpp index 78ffdcc..e7645d1 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -31,8 +31,8 @@ const map<API::endpoint_type,string_view> API::_endpoint_map {v1::apps_verify_credentials, "/api/v1/apps/verify/credentials"}, {v1::accounts, "/api/v1/accounts"}, - {v1::accounts_verify_credentials, "/api/v1/accounts/verify/credentials"}, - {v1::accounts_update_credentials, "/api/v1/accounts/update/credentials"}, + {v1::accounts_verify_credentials, "/api/v1/accounts/verify_credentials"}, + {v1::accounts_update_credentials, "/api/v1/accounts/update_credentials"}, {v1::accounts_id, "/api/v1/accounts/<ID>"}, {v1::accounts_id_statuses, "/api/v1/accounts/<ID>/statuses"}, {v1::accounts_id_followers, "/api/v1/accounts/<ID>/followers"}, |