set content_type=ACTIVITY_TYPE on outbox

This commit is contained in:
jesopo 2019-09-10 18:48:26 +01:00
parent ed07149257
commit 7a860240ef

View file

@ -166,6 +166,7 @@ class Module(ModuleManager.BaseModule):
"type": "Create" "type": "Create"
}) })
event["response"].content_type = ACTIVITY_TYPE
event["response"].write_json({ event["response"].write_json({
"@context": "https://www.w3.org/ns/activitystreams", "@context": "https://www.w3.org/ns/activitystreams",
"id": outbox, "id": outbox,