aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/router.ex
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-11-03 08:51:17 +0100
committerRoger Braun <roger@rogerbraun.net>2017-11-03 08:51:17 +0100
commitc6b9b777dacef2fce51e43a25e3af9c9fac9a87e (patch)
tree6cb29610bce67fc7cfb97d8414c8d85f12c63bbd /lib/pleroma/web/router.ex
parent5bf92e50be76b9dc2fa682b9f2ae252c0faad64e (diff)
downloadpleroma-c6b9b777dacef2fce51e43a25e3af9c9fac9a87e.tar.gz
MastoAPI: Add list of blocked users.
Diffstat (limited to 'lib/pleroma/web/router.ex')
-rw-r--r--lib/pleroma/web/router.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex
index c4bbaa265..f96ec7213 100644
--- a/lib/pleroma/web/router.ex
+++ b/lib/pleroma/web/router.ex
@@ -65,7 +65,8 @@ defmodule Pleroma.Web.Router do
post "/follows", MastodonAPIController, :follow
- get "/blocks", MastodonAPIController, :empty_array
+ get "/blocks", MastodonAPIController, :blocks
+
get "/domain_blocks", MastodonAPIController, :empty_array
get "/follow_requests", MastodonAPIController, :empty_array
get "/mutes", MastodonAPIController, :empty_array