Revert to original formatting for these function defs
This commit is contained in:
parent
7c508319a5
commit
6dc0b13cf8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user