diff --git a/src/jobs/mod.rs b/src/jobs/mod.rs index 161fd4e..dc8445d 100644 --- a/src/jobs/mod.rs +++ b/src/jobs/mod.rs @@ -4,7 +4,7 @@ mod download_cache; pub async fn start_job(name: &str, app_data: AppData) -> Result<(), String> { match name { - "download_cache" => { + "download-cache" => { let mut pool = app_data .db .acquire()