Commit be7c3228 authored by lain's avatar lain

Apply suggestion to lib/pleroma/web/controller_helper.ex

parent c4f267b3
Pipeline #27030 passed with stages
in 8 minutes and 32 seconds
......@@ -63,7 +63,7 @@ defp build_pagination_fields(conn, min_id, max_id, extra_params) 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)),
......
Markdown is supported
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