aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/common_api/common_api.ex
diff options
context:
space:
mode:
authorRin Toshaka <rinpatch@sdf.org>2018-12-30 19:33:36 +0100
committerRin Toshaka <rinpatch@sdf.org>2018-12-30 19:33:36 +0100
commit535fddd2864f3ed8eebc24cbaf0e5b04ec6f4dbe (patch)
treee886e7156743707d70b8de22b846f287b8d972ce /lib/pleroma/web/common_api/common_api.ex
parentd9f40b05b30dd735d0dc87f8268db842bf8ad1f0 (diff)
downloadpleroma-535fddd2864f3ed8eebc24cbaf0e5b04ec6f4dbe.tar.gz
Friendship ended with Postgresql now Cachex is my best friend
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, 1 insertions, 2 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex
index 06d44451e..5e5821561 100644
--- a/lib/pleroma/web/common_api/common_api.ex
+++ b/lib/pleroma/web/common_api/common_api.ex
@@ -128,8 +128,7 @@ defmodule Pleroma.Web.CommonAPI do
|> Enum.reduce(%{}, fn {name, file}, acc ->
Map.put(acc, name, "#{Pleroma.Web.Endpoint.static_url()}#{file}")
end)
- ),
- object <- Map.put(object, "scrubber_cache", %{}) do
+ ) do
res =
ActivityPub.create(%{
to: to,