mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-18 15:41:05 +00:00
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
|
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 a new issue