This commit is contained in:
Martin Brodbeck 2023-09-26 21:09:39 +02:00
parent 2fd01b6e9f
commit e73333145d

View file

@ -172,7 +172,7 @@ async fn get_progress(
if values.is_empty() { if values.is_empty() {
println!("nicht gefunden"); println!("nicht gefunden");
return ( return (
StatusCode::FORBIDDEN, StatusCode::BAD_GATEWAY,
Json(json!({"message": "Field 'document' not provided."})), Json(json!({"message": "Field 'document' not provided."})),
); );
} }