return unquoted empty array from /api/qvitter/mutes.json
This commit is contained in:
parent
6316003946
commit
1299bccc7d
3 changed files with 6 additions and 2 deletions
|
|
@ -404,6 +404,10 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
|
|||
json(conn, Jason.encode!([]))
|
||||
end
|
||||
|
||||
def raw_empty_array(conn, _params) do
|
||||
json(conn, [])
|
||||
end
|
||||
|
||||
def update_profile(%{assigns: %{user: user}} = conn, params) do
|
||||
params =
|
||||
if bio = params["description"] do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue