projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f267b
)
Apply suggestion to lib/pleroma/web/controller_helper.ex
author
lain
<lain@soykaf.club>
Wed, 10 Jun 2020 08:02:35 +0000
(08:02 +0000)
committer
lain
<lain@soykaf.club>
Wed, 10 Jun 2020 08:02:35 +0000
(08:02 +0000)
lib/pleroma/web/controller_helper.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/controller_helper.ex
b/lib/pleroma/web/controller_helper.ex
index 6cb19d539fcfaa9b7ed4fa8eca3c0cb311b4ab09..b7971e94003e1eff977ca93887de53807b0c96ae 100644
(file)
--- a/
lib/pleroma/web/controller_helper.ex
+++ b/
lib/pleroma/web/controller_helper.ex
@@
-63,7
+63,7
@@
defmodule Pleroma.Web.ControllerHelper do
conn.params
|> Map.drop(Map.keys(conn.path_params))
|> Map.merge(extra_params)
- |> Map.drop(
Pagination.page_keys() -- ["limit", "order"]
)
+ |> Map.drop(
@id_keys
)
fields = %{
"next" => current_url(conn, Map.put(params, :max_id, max_id)),