mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 13:31:02 +00:00
Serialize article title in AP
This commit is contained in:
parent
92b4dea739
commit
0ef12ff0f5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue