Revert to original formatting for these function defs

This commit is contained in:
Mark Felder 2021-02-11 14:22:58 -06:00
parent 7c508319a5
commit 6dc0b13cf8

View File

@ -163,10 +163,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusController do
end end
# Creates a regular status # Creates a regular status
def create( def create(%{assigns: %{user: user}, body_params: %{status: _} = params} = conn, _) do
%{assigns: %{user: user}, body_params: %{status: _} = params} = conn,
_
) do
params = params =
Map.put(params, :in_reply_to_status_id, params[:in_reply_to_id]) Map.put(params, :in_reply_to_status_id, params[:in_reply_to_id])
|> put_application(conn) |> put_application(conn)