mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
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