Apply suggestion to lib/pleroma/web/controller_helper.ex
This commit is contained in:
parent
063e6b9841
commit
c4f267b3be
|
@ -57,6 +57,7 @@ def add_link_headers(conn, activities, extra_params) do
|
|||
end
|
||||
end
|
||||
|
||||
@id_keys Pagination.page_keys() -- ["limit", "order"]
|
||||
defp build_pagination_fields(conn, min_id, max_id, extra_params) do
|
||||
params =
|
||||
conn.params
|
||||
|
|
Loading…
Reference in a new issue