Credo fixes: parameter consistency
This commit is contained in:
parent
8bcfac93a8
commit
106f4e7a0f
8 changed files with 9 additions and 9 deletions
|
|
@ -33,7 +33,7 @@ defmodule Pleroma.Plugs.InstanceStatic do
|
|||
for only <- @only do
|
||||
at = Plug.Router.Utils.split("/")
|
||||
|
||||
def call(conn = %{request_path: "/" <> unquote(only) <> _}, opts) do
|
||||
def call(%{request_path: "/" <> unquote(only) <> _} = conn, opts) do
|
||||
call_static(
|
||||
conn,
|
||||
opts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue