Update deps

This commit is contained in:
2023-12-10 21:52:19 +01:00
parent cce27e34b2
commit 2a46502120
4 changed files with 535 additions and 321 deletions

View File

@@ -52,7 +52,7 @@ async fn check_archive_task_status(Path(task_id): Path<String>) -> impl IntoResp
}
}
async fn auth<B>(req: Request<B>, next: Next<B>) -> Result<Response, StatusCode> {
async fn auth(req: Request<axum::body::Body>, next: Next) -> Result<Response, StatusCode> {
let auth_header = req
.headers()
.get(http::header::AUTHORIZATION)