Serialize article title in AP

This commit is contained in:
Bat 2018-05-04 13:12:02 +01:00
parent 92b4dea739
commit 0ef12ff0f5

View File

@ -95,12 +95,12 @@ impl Object for Post {
"type": "Article",
"id": self.compute_id(conn),
"attributedTo": self.get_authors(conn)[0].compute_id(conn),
"name": self.title,
"content": self.content,
"actor": self.get_authors(conn)[0].compute_id(conn),
"published": self.creation_date,
// TODO: "image": "image",
// TODO: "preview": "preview",
// TODO: "published": "published",
// TODO: "replies": "replies",
// TODO: "summary": "summary",
"tag": [],