projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ObjectValidator: Clarify type of object.
[akkoma]
/
lib
/
pleroma
/
web
/
feed
/
tag_controller.ex
diff --git
a/lib/pleroma/web/feed/tag_controller.ex
b/lib/pleroma/web/feed/tag_controller.ex
index 4e86cfeb58221b0cd2c8085c4393029caa042e70..39b2a766a503cc25ff8715e435d18ec6917f1c82 100644
(file)
--- a/
lib/pleroma/web/feed/tag_controller.ex
+++ b/
lib/pleroma/web/feed/tag_controller.ex
@@
-13,8
+13,8
@@
defmodule Pleroma.Web.Feed.TagController do
{format, tag} = parse_tag(raw_tag)
activities =
{format, tag} = parse_tag(raw_tag)
activities =
- %{
"type" => ["Create"], "tag" =>
tag}
- |> Pleroma.Maps.put_if_present(
"max_id"
, params["max_id"])
+ %{
type: ["Create"], tag:
tag}
+ |> Pleroma.Maps.put_if_present(
:max_id
, params["max_id"])
|> ActivityPub.fetch_public_activities()
conn
|> ActivityPub.fetch_public_activities()
conn