Refactor request status id endpoint

This commit is contained in:
Dominik Werder
2024-10-08 14:32:56 +02:00
parent 365cdcf2d6
commit 773da33777
4 changed files with 111 additions and 119 deletions

View File

@@ -236,7 +236,7 @@ async fn proxy_http_service_inner(
} else if let Some(h) = api1::PythonDataApi1Query::handler(&req) {
h.handle(req, ctx, proxy_config).await
} else if let Some(h) = api1::reqstatus::RequestStatusHandler::handler(&req) {
h.handle(req, proxy_config).await
h.handle(req, ctx, proxy_config).await
} else if path.starts_with(DISTRI_PRE) {
proxy_distribute_v2(req).await
} else if let Some(h) = super::api4::docs::DocsHandler::handler(&req) {