Serialize article title in AP
This commit is contained in:
parent
92b4dea739
commit
0ef12ff0f5
@ -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": [],
|
||||
|
Loading…
Reference in New Issue
Block a user