Apply suggestion to lib/pleroma/web/feed/tag_controller.ex
This commit is contained in:
parent
be926863a8
commit
e3fae3380e
|
@ -15,7 +15,7 @@ def feed(conn, %{"tag" => raw_tag} = params) 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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue