diff --git a/src/models/posts.rs b/src/models/posts.rs index 7c7c18dd..7447d856 100644 --- a/src/models/posts.rs +++ b/src/models/posts.rs @@ -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": [],