return empty array for api/qvitter/mutes.json queries instead of html

This commit is contained in:
Vivian Lim 2018-06-23 22:21:39 -07:00
parent ad28854f47
commit f2badd4424

View File

@ -269,6 +269,7 @@ defmodule Pleroma.Web.Router do
get("/friendships/no_retweets/ids", TwitterAPI.Controller, :empty_array) get("/friendships/no_retweets/ids", TwitterAPI.Controller, :empty_array)
get("/mutes/users/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) get("/externalprofile/show", TwitterAPI.Controller, :external_profile)
end end