Keeps the same behavior as before when parameter is missing
This commit is contained in:
parent
817ef3d727
commit
5a314ffbec
2 changed files with 27 additions and 1 deletions
|
|
@ -110,6 +110,7 @@ pub async fn dev_panel(
|
|||
|
||||
#[derive(Deserialize)]
|
||||
pub struct LogsParams {
|
||||
#[serde(default)]
|
||||
pub log_file: String,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue