projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove a TODO comment as the tests for poll view were written
[akkoma]
/
lib
/
pleroma
/
web
/
endpoint.ex
diff --git
a/lib/pleroma/web/endpoint.ex
b/lib/pleroma/web/endpoint.ex
index 8cd7a2270b87cc3ebfcc62d58eb4feb190d489ff..bd76e42950167ca1466a48f99727fb852bf71a3f 100644
(file)
--- a/
lib/pleroma/web/endpoint.ex
+++ b/
lib/pleroma/web/endpoint.ex
@@
-66,7
+66,7
@@
defmodule Pleroma.Web.Endpoint do
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Jason,
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Jason,
- length:
Application.get_env(:pleroma, :instance) |> Keyword.get(:upload_limit
),
+ length:
Pleroma.Config.get([:instance, :upload_limit]
),
body_reader: {Pleroma.Web.Plugs.DigestPlug, :read_body, []}
)
body_reader: {Pleroma.Web.Plugs.DigestPlug, :read_body, []}
)