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
# Creates a regular status
def create(
%{assigns: %{user: user}, body_params: %{status: _} = params} = conn,
_
) do
def create(%{assigns: %{user: user}, body_params: %{status: _} = params} = conn, _) do
params =
Map.put(params, :in_reply_to_status_id, params[:in_reply_to_id])
|> put_application(conn)