add ap_id, updated fields

This commit is contained in:
Felix Ableitner 2022-04-22 13:19:45 +02:00 committed by Dessalines
parent 2387763d19
commit 76c1dc2ad7

View file

@ -206,6 +206,8 @@ impl ApubObject for ApubPost {
PostForm {
locked: page.comments_enabled.map(|e| !e),
stickied: page.stickied,
updated: page.updated.map(|u| u.naive_local()),
ap_id: Some(page.id.clone().into()),
..Default::default()
}
};