fix production compile error

This commit is contained in:
blek 2023-10-22 16:42:26 +10:00
parent 5762063ac0
commit d16615a07c
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 1 deletions

View File

@ -31,8 +31,9 @@ async fn clean(env: env::Env, state: State) -> CleanResult {
#[cfg(debug_assertions)] {
log::debug!("Cleaned successfully");
return CleanResult::ScheduleNext(chrono::Local::now() + env.clean_del);
}
CleanResult::ScheduleNext(chrono::Local::now() + env.clean_del)
}
#[tokio::main]