mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-03 13:58:41 +00:00
Force cc to an empty list if undefined
This commit is contained in:
parent
30eef434a9
commit
83fcf42c70
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
|
||||||
|
|
||||||
{:ok, data} = Transmogrifier.prepare_outgoing(activity.data)
|
{:ok, data} = Transmogrifier.prepare_outgoing(activity.data)
|
||||||
|
|
||||||
cc = Map.get(params, :cc)
|
cc = Map.get(params, :cc, [])
|
||||||
|
|
||||||
json =
|
json =
|
||||||
data
|
data
|
||||||
|
|
Loading…
Reference in a new issue