diff --git a/src/process.rs b/src/process.rs index f8c4e90..4297dd3 100644 --- a/src/process.rs +++ b/src/process.rs @@ -20,7 +20,9 @@ pub async fn start( process_code: String, ) -> Result> { let p = fetch_for_one(&process_code).await?; - save(&telegram_id, &process_code, &p.status).await; + if p.status != "unknown" { + save(&telegram_id, &process_code, &p.status).await; + } Ok(p) }