mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
parent
f4c783cba5
commit
d26255957b
@ -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
Block a user