diff options
author | tastytea | 2020-01-12 16:06:44 +0100 |
---|---|---|
committer | tastytea | 2020-01-12 16:06:44 +0100 |
commit | deeffc5adfbc48177bb983de701f598bef0cdae8 (patch) | |
tree | 6583e1efb8b19d19ac2b37f1df2b78601cd80587 | |
parent | 79c5087ca57de629badb72580a296231b242d849 (diff) | |
download | mastodonpp-deeffc5adfbc48177bb983de701f598bef0cdae8.tar mastodonpp-deeffc5adfbc48177bb983de701f598bef0cdae8.tar.gz mastodonpp-deeffc5adfbc48177bb983de701f598bef0cdae8.zip |
Bugfix in endpoint translation.
-rw-r--r-- | src/api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api.cpp b/src/api.cpp index f395ef3..9a0dae6 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -28,7 +28,7 @@ API::API(const endpoint_type &endpoint) const map<API::endpoint_type,string_view> API::_endpoint_map { {v1::apps, "/api/v1/apps"}, - {v1::apps_verify_credentials, "/api/v1/apps/verify/credentials"}, + {v1::apps_verify_credentials, "/api/v1/apps/verify_credentials"}, {v1::accounts, "/api/v1/accounts"}, {v1::accounts_verify_credentials, "/api/v1/accounts/verify_credentials"}, |