From: lain Date: Wed, 10 Jun 2020 18:56:46 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/controller_helper.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5e44e9d69871f2e5805a8dddcfce43ae713eb52d;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 88f2cc6f1..a5eb3e9e0 100644 --- a/lib/pleroma/web/controller_helper.ex +++ b/lib/pleroma/web/controller_helper.ex @@ -76,7 +76,7 @@ defmodule Pleroma.Web.ControllerHelper do # This is because we only have ids present inside of the page, while # `min_id`, `since_id` and `max_id` requires to know one outside of it. if Map.take(conn.params, @id_keys) != [] do - Map.put(fields, "id", current_url(conn, conn.params)) + Map.put(fields, "id", current_url(conn)) else fields end