projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e78171
)
Respond with full activity to outbox post
author
sxsdv1
<sxsdv1@gmail.com>
Sun, 30 Dec 2018 10:19:53 +0000
(11:19 +0100)
committer
sxsdv1
<sxsdv1@gmail.com>
Sun, 30 Dec 2018 11:01:39 +0000
(12:01 +0100)
lib/pleroma/web/activity_pub/activity_pub_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub_controller.ex
b/lib/pleroma/web/activity_pub/activity_pub_controller.ex
index f90132b4d9005982430a6f44083b31ea60345b9a..e41b14afc8a6cc61b4b0b061d45f06831f8fd7a5 100644
(file)
--- 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