diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-11-03 08:38:05 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-11-03 08:38:05 +0100 |
commit | 5bf92e50be76b9dc2fa682b9f2ae252c0faad64e (patch) | |
tree | 15a60a01858170c2a0d1b06aa4af81a34be8cacd /lib/pleroma/web/router.ex | |
parent | 33beb51da423f5f80311453ad9025aa66984eb12 (diff) | |
download | pleroma-5bf92e50be76b9dc2fa682b9f2ae252c0faad64e.tar.gz |
MastoAPI: Add blocking.
Diffstat (limited to 'lib/pleroma/web/router.ex')
-rw-r--r-- | lib/pleroma/web/router.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 1fb5eadf6..c4bbaa265 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -58,8 +58,8 @@ defmodule Pleroma.Web.Router do get "/accounts/search", MastodonAPIController, :account_search post "/accounts/:id/follow", MastodonAPIController, :follow post "/accounts/:id/unfollow", MastodonAPIController, :unfollow - post "/accounts/:id/block", MastodonAPIController, :relationship_noop - post "/accounts/:id/unblock", MastodonAPIController, :relationship_noop + post "/accounts/:id/block", MastodonAPIController, :block + post "/accounts/:id/unblock", MastodonAPIController, :unblock post "/accounts/:id/mute", MastodonAPIController, :relationship_noop post "/accounts/:id/unmute", MastodonAPIController, :relationship_noop |