Add to field

merge-requests/30/head
Bob Mottram 2021-03-20 12:20:17 +00:00
parent d9bc4d72aa
commit 24f9c2e6c6
1 changed files with 3 additions and 1 deletions

View File

@ -366,9 +366,11 @@ def sendBookmarkViaServer(baseDir: str, session,
"@context": "https://www.w3.org/ns/activitystreams", "@context": "https://www.w3.org/ns/activitystreams",
"type": "Add", "type": "Add",
"actor": actor, "actor": actor,
"to": [actor],
"object": { "object": {
"type": "Document", "type": "Document",
"url": bookmarkUrl "url": bookmarkUrl,
"to": [actor]
}, },
"target": actor + "/tlbookmarks" "target": actor + "/tlbookmarks"
} }