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 GitHub
parent f4c783cba5
commit d26255957b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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