From: sxsdv1 Date: Sun, 30 Dec 2018 10:19:53 +0000 (+0100) Subject: Respond with full activity to outbox post X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f40562b4e1ff213b88c8b6edf57431bfb1b804ac;p=akkoma Respond with full activity to outbox post --- diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index f90132b4d..e41b14afc 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -195,7 +195,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do conn |> put_status(:created) |> put_resp_header("location", activity.data["id"]) - |> json(%{"id" => activity.data["id"]}) + |> json(activity.data) end else conn