activitypub utils: fix user splicing
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 25 Oct 2018 05:24:01 +0000 (05:24 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 25 Oct 2018 05:24:01 +0000 (05:24 +0000)
lib/pleroma/web/activity_pub/utils.ex

index 8b5feef1c7eb75e1710b7538720e453ac517b4e5..266667f8109720ee05ae35374800147eaddf3b31 100644 (file)
@@ -55,7 +55,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
 
     if need_splice do
       params
-      |> Map.put(params, "cc", [ap_id | cc_list])
+      |> Map.put("cc", [ap_id | cc_list])
     else
       params
     end