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

This commit is contained in:
lain 2020-06-10 08:02:26 +00:00
parent 063e6b9841
commit c4f267b3be

View File

@ -57,6 +57,7 @@ def add_link_headers(conn, activities, extra_params) do
end end
end end
@id_keys Pagination.page_keys() -- ["limit", "order"]
defp build_pagination_fields(conn, min_id, max_id, extra_params) do defp build_pagination_fields(conn, min_id, max_id, extra_params) do
params = params =
conn.params conn.params