Fix activitypub.ex
This commit is contained in:
parent
1b4034dac6
commit
d8e66d0dcb
3 changed files with 33 additions and 39 deletions
|
@ -38,7 +38,7 @@ defmodule NullaWeb.OutboxController do
|
|||
|> put_resp_content_type("application/activity+json")
|
||||
|> send_resp(
|
||||
200,
|
||||
Jason.encode!(ActivityPub.outbox(domain, username, next_max_id, min_id || 0, items))
|
||||
Jason.encode!(ActivityPub.outbox(actor, next_max_id, min_id || 0, items))
|
||||
)
|
||||
|
||||
_ ->
|
||||
|
@ -49,7 +49,7 @@ defmodule NullaWeb.OutboxController do
|
|||
|
||||
conn
|
||||
|> put_resp_content_type("application/activity+json")
|
||||
|> send_resp(200, Jason.encode!(ActivityPub.outbox(domain, username, total)))
|
||||
|> send_resp(200, Jason.encode!(ActivityPub.outbox(actor, total)))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue