aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/common_api/common_api.ex
diff options
context:
space:
mode:
authorRin Toshaka <rinpatch@sdf.org>2018-12-29 17:45:50 +0100
committerRin Toshaka <rinpatch@sdf.org>2018-12-29 17:45:50 +0100
commit19f9889fbe9d120acfaed2a5aedb4032d56eb217 (patch)
tree215c1bf029a01be19fbe40e5ce9b30a5f9361587 /lib/pleroma/web/common_api/common_api.ex
parent922abcda61298a7bca48894cb9a51a52fdeab1ed (diff)
downloadpleroma-19f9889fbe9d120acfaed2a5aedb4032d56eb217.tar.gz
I am not sure what's going on anymore so I'll just commit and reset all the other files to HEAD
Diffstat (limited to 'lib/pleroma/web/common_api/common_api.ex')
-rw-r--r--lib/pleroma/web/common_api/common_api.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex
index 5e5821561..06d44451e 100644
--- a/lib/pleroma/web/common_api/common_api.ex
+++ b/lib/pleroma/web/common_api/common_api.ex
@@ -128,7 +128,8 @@ defmodule Pleroma.Web.CommonAPI do
|> Enum.reduce(%{}, fn {name, file}, acc ->
Map.put(acc, name, "#{Pleroma.Web.Endpoint.static_url()}#{file}")
end)
- ) do
+ ),
+ object <- Map.put(object, "scrubber_cache", %{}) do
res =
ActivityPub.create(%{
to: to,