From 90f7c5ae5efa54285129525d6610d10e6f0e8b1e Mon Sep 17 00:00:00 2001 From: George Scrivener Date: Thu, 4 Mar 2021 15:54:56 +0000 Subject: [PATCH] Replace use of get_param with param This has been changed on Rocket master --- src/fairing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);