mirror of https://github.com/LemmyNet/lemmy.git
Fix federation of initial post/comment vote (fixes #1824)
parent
f4c783cba5
commit
b897b2893e
|
@ -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>),
|
||||||
|
|
Loading…
Reference in New Issue