Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
[akkoma] / lib / pleroma / plugs / user_fetcher_plug.ex
index 9cbaaf40a983be5d4c76788ae25bd71d3bc5c64a..04957148b5a46ff20561e996c4b09afb1728d9d5 100644 (file)
@@ -1,3 +1,7 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Pleroma.Plugs.UserFetcherPlug do
   import Plug.Conn
   alias Pleroma.Repo
@@ -7,7 +11,7 @@ defmodule Pleroma.Plugs.UserFetcherPlug do
     options
   end
 
-  def call(conn, options) do
+  def call(conn, _options) do
     with %{auth_credentials: %{username: username}} <- conn.assigns,
          {:ok, %User{} = user} <- user_fetcher(username) do
       conn