Fix using incorrect ID for Create activities
This commit is contained in:
parent
1ad70f3357
commit
5326951e8a
|
@ -35,7 +35,7 @@ defmodule Clacks.UserActionsHelper do
|
|||
note_changeset = Object.changeset_for_creating(note)
|
||||
{:ok, _object} = Repo.insert(note_changeset)
|
||||
|
||||
%{"id" => create_ap_id} = create = ActivityPub.internal_create(note, author.actor.ap_id)
|
||||
%{"id" => create_ap_id} = create = ActivityPub.internal_create(note)
|
||||
|
||||
case ActivityPub.Helper.save_and_federate(create, author.actor) do
|
||||
{:ok, activity} ->
|
||||
|
|
Loading…
Reference in New Issue