Lint
[akkoma] / lib / pleroma / web / mastodon_api / controllers / account_controller.ex
index 8a43d49d3380d51510d42f9065e428b07eb7c4eb..a2c4920c1e3942df97e7341969efcf7d454d7717 100644 (file)
@@ -441,7 +441,10 @@ defmodule Pleroma.Web.MastodonAPI.AccountController do
   end
 
   @doc "POST /api/v1/accounts/:id/note"
-  def note(%{assigns: %{user: noter, account: target}, body_params: %{comment: comment}} = conn, _params) do
+  def note(
+        %{assigns: %{user: noter, account: target}, body_params: %{comment: comment}} = conn,
+        _params
+      ) do
     with {:ok, _user_note} <- UserNote.create(noter, target, comment) do
       render(conn, "relationship.json", user: noter, target: target)
     else