Skip to content

Commit

Permalink
fix middleware test code
Browse files Browse the repository at this point in the history
  • Loading branch information
elcharitas committed Sep 28, 2024
1 parent e31c545 commit ec3cb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shared/src/traits/middleware_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use crate::{
/// }
///
/// impl NgynMiddleware for RequestReceivedLogger {
/// fn handle(&self, cx: &mut NgynContext, res: &mut NgynResponse) {
/// async fn handle(&self, cx: &mut NgynContext, res: &mut NgynResponse) {
/// println!("Request received: {:?}", cx.request());
/// }
/// }
Expand Down

0 comments on commit ec3cb0c

Please sign in to comment.