diff options
author | rinpatch <rinpatch@sdf.org> | 2020-09-23 14:49:35 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-09-23 14:49:35 +0300 |
commit | 1881480a085f413dc4ba100ae7d246a46bcc813c (patch) | |
tree | dc1fca446d6e2fa2188b554a1dfa31b129bc4251 | |
parent | 2b9587c444e373d624d2ae12a7cab4414514359d (diff) | |
download | pleroma-1881480a085f413dc4ba100ae7d246a46bcc813c.tar.gz |
tmp
-rw-r--r-- | lib/pleroma/web/activity_pub/publisher.ex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex index 392a4f8af..d55854de7 100644 --- a/lib/pleroma/web/activity_pub/publisher.ex +++ b/lib/pleroma/web/activity_pub/publisher.ex @@ -52,9 +52,9 @@ defmodule Pleroma.Web.ActivityPub.Publisher do # Backwards compatibility for jobs that might have been left # before updating. data = - if params["data"], - do: params["data"], - else: Jason.decode!(params["json"]) + if params[:data], + do: params[:data], + else: Jason.decode!(params[:json]) Logger.debug("Federating #{id} to #{inbox}") |