From 1881480a085f413dc4ba100ae7d246a46bcc813c Mon Sep 17 00:00:00 2001 From: rinpatch Date: Wed, 23 Sep 2020 14:49:35 +0300 Subject: tmp --- lib/pleroma/web/activity_pub/publisher.ex | 6 +++--- 1 file 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}") -- cgit v1.2.3