diff --git a/src/models/posts.rs b/src/models/posts.rs index 120a760..86d9a40 100644 --- a/src/models/posts.rs +++ b/src/models/posts.rs @@ -93,6 +93,7 @@ impl Object for Post { json!({ "type": "Article", + "id": self.compute_id(conn), "attributedTo": self.get_authors(conn).into_iter().map(|a| a.compute_id(conn)).collect::>(), "content": self.content, // TODO: "image": "image",