adapted cache duration
This commit is contained in:
@@ -18,7 +18,8 @@ pub struct Channel {
|
||||
pub categories: Vec<String>, //[],
|
||||
pub options: Vec<ChannelOption>,
|
||||
pub nsfw: bool, //true
|
||||
pub cacheDuration: u32, //Some(86400)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub cacheDuration: Option<u32>, //Some(86400)
|
||||
}
|
||||
|
||||
#[derive(serde::Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user