From e73333145d29790d48e94f27ed24107e6ccc43ed Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 26 Sep 2023 21:09:39 +0200 Subject: [PATCH] ... --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."})), ); }