Fix WebDAV: handle_dav extract WebdavCredentials Extension
This commit is contained in:
@@ -134,6 +134,7 @@ async fn run_webdav_server(
|
|||||||
|
|
||||||
async fn handle_dav(
|
async fn handle_dav(
|
||||||
Extension(dav): Extension<DavHandler>,
|
Extension(dav): Extension<DavHandler>,
|
||||||
|
Extension(_creds): Extension<crate::webdav::WebdavCredentials>,
|
||||||
req: Request,
|
req: Request,
|
||||||
) -> impl IntoResponse {
|
) -> impl IntoResponse {
|
||||||
dav.handle(req).await
|
dav.handle(req).await
|
||||||
|
|||||||
Reference in New Issue
Block a user