forked from AkkomaGang/akkoma
test: fix typos affecting remove factory
Apparently nothing used this factory until now
This commit is contained in:
parent
755c75d8a4
commit
1ef8b967d2
1 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ def add_activity_factory(attrs \\ %{}) do
|
|||
featured_collection_activity(attrs, "Add")
|
||||
end
|
||||
|
||||
def remove_activity_factor(attrs \\ %{}) do
|
||||
def remove_activity_factory(attrs \\ %{}) do
|
||||
featured_collection_activity(attrs, "Remove")
|
||||
end
|
||||
|
||||
|
@ -328,7 +328,7 @@ defp featured_collection_activity(attrs, type) do
|
|||
"target" => user.featured_address,
|
||||
"object" => note.data["object"],
|
||||
"actor" => note.data["actor"],
|
||||
"type" => "Add",
|
||||
"type" => type,
|
||||
"to" => [Pleroma.Constants.as_public()],
|
||||
"cc" => [user.follower_address]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue