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",
|
"type": "Article",
|
||||||
"id": self.compute_id(conn),
|
"id": self.compute_id(conn),
|
||||||
"attributedTo": self.get_authors(conn)[0].compute_id(conn),
|
"attributedTo": self.get_authors(conn)[0].compute_id(conn),
|
||||||
|
"name": self.title,
|
||||||
"content": self.content,
|
"content": self.content,
|
||||||
"actor": self.get_authors(conn)[0].compute_id(conn),
|
"actor": self.get_authors(conn)[0].compute_id(conn),
|
||||||
"published": self.creation_date,
|
"published": self.creation_date,
|
||||||
// TODO: "image": "image",
|
// TODO: "image": "image",
|
||||||
// TODO: "preview": "preview",
|
// TODO: "preview": "preview",
|
||||||
// TODO: "published": "published",
|
|
||||||
// TODO: "replies": "replies",
|
// TODO: "replies": "replies",
|
||||||
// TODO: "summary": "summary",
|
// TODO: "summary": "summary",
|
||||||
"tag": [],
|
"tag": [],
|
||||||
|
|
Loading…
Reference in a new issue