Revert to original formatting for these function defs
This commit is contained in:
parent
7c508319a5
commit
6dc0b13cf8
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue