Respond with full activity to outbox post
authorsxsdv1 <sxsdv1@gmail.com>
Sun, 30 Dec 2018 10:19:53 +0000 (11:19 +0100)
committersxsdv1 <sxsdv1@gmail.com>
Sun, 30 Dec 2018 11:01:39 +0000 (12:01 +0100)
lib/pleroma/web/activity_pub/activity_pub_controller.ex

index f90132b4d9005982430a6f44083b31ea60345b9a..e41b14afc8a6cc61b4b0b061d45f06831f8fd7a5 100644 (file)
@@ -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