Merge branch 'fix/plug_parser_multipart' into 'develop'
web endpoint: Use Config.get directly instead of a tuple See merge request pleroma/pleroma!3445
This commit is contained in:
commit
64bc0c69ed
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ defmodule Pleroma.Web.Endpoint do
|
|||
plug(Plug.Parsers,
|
||||
parsers: [
|
||||
:urlencoded,
|
||||
{:multipart, length: {Config, :get, [[:instance, :upload_limit]]}},
|
||||
{:multipart, length: Config.get([:instance, :upload_limit])},
|
||||
:json
|
||||
],
|
||||
pass: ["*/*"],
|
||||
|
|
Loading…
Reference in a new issue