mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 03:24:04 +00:00
Apply suggestion to lib/pleroma/web/controller_helper.ex
This commit is contained in:
parent
c4f267b3be
commit
be7c322865
|
@ -63,7 +63,7 @@ defmodule Pleroma.Web.ControllerHelper do
|
||||||
conn.params
|
conn.params
|
||||||
|> Map.drop(Map.keys(conn.path_params))
|
|> Map.drop(Map.keys(conn.path_params))
|
||||||
|> Map.merge(extra_params)
|
|> Map.merge(extra_params)
|
||||||
|> Map.drop(Pagination.page_keys() -- ["limit", "order"])
|
|> Map.drop(@id_keys)
|
||||||
|
|
||||||
fields = %{
|
fields = %{
|
||||||
"next" => current_url(conn, Map.put(params, :max_id, max_id)),
|
"next" => current_url(conn, Map.put(params, :max_id, max_id)),
|
||||||
|
|
Loading…
Reference in a new issue