Commit 64bc0c69 authored by feld's avatar feld
Browse files

Merge branch 'fix/plug_parser_multipart' into 'develop'

web endpoint: Use Config.get directly instead of a tuple

See merge request !3445
parents ca1eac01 7d350b73
Pipeline #36418 passed with stages
in 92 minutes and 13 seconds
......@@ -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: ["*/*"],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment