Fix using incorrect ID for Create activities

This commit is contained in:
Shadowfacts 2021-08-25 23:23:08 -04:00
parent 1ad70f3357
commit 5326951e8a
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 1 deletions

View File

@ -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} ->