diff --git a/src/fairing.rs b/src/fairing.rs index e3e2099..4b78c35 100644 --- a/src/fairing.rs +++ b/src/fairing.rs @@ -26,7 +26,7 @@ impl rocket::handler::Handler for FairingErrorRoute { _: rocket::Data, ) -> rocket::handler::Outcome<'r> { let status = request - .get_param::(0) + .param::(0) .unwrap_or(Ok(0)) .unwrap_or_else(|e| { error_!("Fairing Error Handling Route error: {:?}", e);