Use atoms as keys in ActivityPub.fetch_* functions options
This commit is contained in:
parent
f5cb1f3616
commit
317e2b8d61
27 changed files with 538 additions and 636 deletions
|
|
@ -52,10 +52,10 @@ defmodule Pleroma.Web.Feed.UserController do
|
|||
with {_, %User{} = user} <- {:fetch_user, User.get_cached_by_nickname(nickname)} do
|
||||
activities =
|
||||
%{
|
||||
"type" => ["Create"],
|
||||
"actor_id" => user.ap_id
|
||||
type: ["Create"],
|
||||
actor_id: user.ap_id
|
||||
}
|
||||
|> put_if_exist("max_id", params["max_id"])
|
||||
|> put_if_exist(:max_id, params["max_id"])
|
||||
|> ActivityPub.fetch_public_or_unlisted_activities()
|
||||
|
||||
conn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue