projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad28854
)
return empty array for api/qvitter/mutes.json queries instead of html
author
Vivian Lim
<vivlim@pm.me>
Sun, 24 Jun 2018 05:21:39 +0000
(22:21 -0700)
committer
Vivian Lim
<vivlim@pm.me>
Sun, 24 Jun 2018 05:21:39 +0000
(22:21 -0700)
lib/pleroma/web/router.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index 13bd393abcfd0f3ae3a3a861bdfd728b1567d577..a502ba4d576ff085cb5e6550ebc8a082e6626a65 100644
(file)
--- 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