aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/router.ex
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSd.org>2017-10-30 03:37:07 +0000
committerMark Felder <feld@FreeBSd.org>2017-10-30 03:37:07 +0000
commitefe12e1a73e13c9e749a4e6cc9c0c8a6988d87db (patch)
tree5978303d0e850e921c8a0cb84095282fff488074 /lib/pleroma/web/router.ex
parent9168497f8fc051a12bf320bda9c762b96da2f27d (diff)
downloadpleroma-efe12e1a73e13c9e749a4e6cc9c0c8a6988d87db.tar.gz
Fix /api/v1/accounts/search by splitting account search into its own function
Diffstat (limited to 'lib/pleroma/web/router.ex')
-rw-r--r--lib/pleroma/web/router.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex
index 45c47eefb..53f4a45e3 100644
--- a/lib/pleroma/web/router.ex
+++ b/lib/pleroma/web/router.ex
@@ -55,6 +55,7 @@ defmodule Pleroma.Web.Router do
get "/accounts/verify_credentials", MastodonAPIController, :verify_credentials
get "/accounts/relationships", MastodonAPIController, :relationships
+ get "/accounts/search", MastodonAPIController, :accountsearch
post "/accounts/:id/follow", MastodonAPIController, :follow
post "/accounts/:id/unfollow", MastodonAPIController, :unfollow
post "/accounts/:id/block", MastodonAPIController, :relationship_noop