Apply suggestion to lib/pleroma/web/feed/tag_controller.ex

This commit is contained in:
lain 2020-01-28 13:38:49 +00:00
parent be926863a8
commit e3fae3380e

View File

@ -15,7 +15,7 @@ defmodule Pleroma.Web.Feed.TagController do
{format, tag} = parse_tag(raw_tag) {format, tag} = parse_tag(raw_tag)
activities = activities =
%{"type" => ["Create"], "whole_db" => true, "tag" => tag} %{"type" => ["Create"], "tag" => tag}
|> put_in_if_exist("max_id", params["max_id"]) |> put_in_if_exist("max_id", params["max_id"])
|> ActivityPub.fetch_public_activities() |> ActivityPub.fetch_public_activities()