mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-19 00:00:14 +02:00
Fix for service as bottom handler (#27)
Would previously fail because of a mismatch in error types.
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ where
|
||||
OnMethod {
|
||||
method,
|
||||
svc: handler.into_service(),
|
||||
fallback: EmptyRouter,
|
||||
fallback: EmptyRouter::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user