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

fix-initial-vote
Felix Ableitner 2021-10-13 12:34:25 +02:00
parent f4c783cba5
commit b897b2893e
1 changed files with 1 additions and 0 deletions

View File

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