'location' -> 'self_id'

This commit is contained in:
jesopo 2019-09-10 16:24:11 +01:00
parent eb5b0c25b6
commit b6f4e9c458

View file

@ -163,9 +163,9 @@ class Module(ModuleManager.BaseModule):
event["response"].content_type = "application/jrd+json" event["response"].content_type = "application/jrd+json"
event["response"].write_json({ event["response"].write_json({
"aliases": [location], "aliases": [self_id],
"links": [{ "links": [{
"href": location, "href": self_id,
"rel": "self", "rel": "self",
"type": ACTIVITY_TYPE "type": ACTIVITY_TYPE
}], }],