Revert to original formatting for these function defs
authorMark Felder <feld@feld.me>
Thu, 11 Feb 2021 20:22:58 +0000 (14:22 -0600)
committerMark Felder <feld@feld.me>
Thu, 11 Feb 2021 20:24:51 +0000 (14:24 -0600)
lib/pleroma/web/mastodon_api/controllers/status_controller.ex

index a54357f93874e1abd77c4cea7e0aeda98fc26e2c..c8f6a299474df165016f1e664018ca277b535ea7 100644 (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)