Fix federation of initial post/comment vote (fixes #1824) (#1835)

This commit is contained in:
Nutomic 2021-10-13 14:12:41 +00:00 committed by Dessalines
parent 875171ed07
commit 2eb43889a4

View file

@ -26,6 +26,7 @@ pub enum PostOrCommentForm {
} }
#[derive(Deserialize)] #[derive(Deserialize)]
#[serde(untagged)]
pub enum PageOrNote { pub enum PageOrNote {
Page(Page), Page(Page),
Note(Note), Note(Note),