mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 09:51:01 +00:00
parent
f4c783cba5
commit
d26255957b
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue