aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVivian Lim <vivlim@pm.me>2018-06-23 22:21:39 -0700
committerVivian Lim <vivlim@pm.me>2018-06-23 22:21:39 -0700
commitf2badd4424a362f30409113142bfca750ec61214 (patch)
tree73de10efc47ecca2116fe9ab09fb97248dfeec53 /lib
parentad28854f477141dc9b6a01f7e4465c07bb0f896c (diff)
downloadpleroma-f2badd4424a362f30409113142bfca750ec61214.tar.gz
return empty array for api/qvitter/mutes.json queries instead of html
Diffstat (limited to 'lib')
-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 13bd393ab..a502ba4d5 100644
--- a/lib/pleroma/web/router.ex
+++ b/lib/pleroma/web/router.ex
@@ -269,6 +269,7 @@ defmodule Pleroma.Web.Router do
get("/friendships/no_retweets/ids", TwitterAPI.Controller, :empty_array)
get("/mutes/users/ids", TwitterAPI.Controller, :empty_array)
+ get("/qvitter/mutes.json", TwitterAPI.Controller, :empty_array)
get("/externalprofile/show", TwitterAPI.Controller, :external_profile)
end