From: lain Date: Wed, 10 Jun 2020 08:02:35 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/controller_helper.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=be7c322865b2b7aa1c8c25147cc598b6362ab187;p=akkoma Apply suggestion to lib/pleroma/web/controller_helper.ex --- diff --git a/lib/pleroma/web/controller_helper.ex b/lib/pleroma/web/controller_helper.ex index 6cb19d539..b7971e940 100644 --- 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)),