diff --git a/src/main.rs b/src/main.rs index 9f3992e..756ae6e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -172,7 +172,7 @@ async fn get_progress( if values.is_empty() { println!("nicht gefunden"); return ( - StatusCode::FORBIDDEN, + StatusCode::BAD_GATEWAY, Json(json!({"message": "Field 'document' not provided."})), ); }