add default value for storage config
This commit is contained in:
parent
e385a07aac
commit
21f0ce8608
@ -32,6 +32,7 @@ fn timestamp() -> i64 {
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Config {
|
||||
#[serde(default)]
|
||||
pub storage: String,
|
||||
#[serde(default = "default_map")]
|
||||
pub games: HashMap<String, u64>,
|
||||
|
Loading…
Reference in New Issue
Block a user