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 @@ def prepare_one(%{inbox: inbox, activity_id: activity_id} = params) do
|
|||
|
||||
{:ok, data} = Transmogrifier.prepare_outgoing(activity.data)
|
||||
|
||||
cc = Map.get(params, :cc)
|
||||
cc = Map.get(params, :cc, [])
|
||||
|
||||
json =
|
||||
data
|
||||
|
|
Loading…
Reference in a new issue