summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-01-12 11:45:15 +0100
committertastytea2020-01-12 11:45:15 +0100
commitcd31af94a68b2320b8d4bc0dc7377cdece50dc25 (patch)
treeb395fe315711af852ea5c7077eb8f31f5e82cde6
parentb2f370a727cbb8be4973bdd1eb8c7af743b2f7c4 (diff)
downloadmastodonpp-cd31af94a68b2320b8d4bc0dc7377cdece50dc25.tar
mastodonpp-cd31af94a68b2320b8d4bc0dc7377cdece50dc25.tar.gz
mastodonpp-cd31af94a68b2320b8d4bc0dc7377cdece50dc25.zip
Bugfix in endpoint translation.
-rw-r--r--src/api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api.cpp b/src/api.cpp
index d56298b..f395ef3 100644
--- a/src/api.cpp
+++ b/src/api.cpp
@@ -145,7 +145,7 @@ const map<API::endpoint_type,string_view> API::_endpoint_map
{v1::directory, "/api/v1/directory"},
- {v1::custom_emojis, "/api/v1/custom/emojis"},
+ {v1::custom_emojis, "/api/v1/custom_emojis"},
{v1::admin_accounts, "/api/v1/admin/accounts"},
{v1::admin_accounts_id, "/api/v1/admin/accounts/<ID>"},