diff --git a/runtime/src/api_token.rs b/runtime/src/api_token.rs index 6dd805c1..f2fe7a14 100644 --- a/runtime/src/api_token.rs +++ b/runtime/src/api_token.rs @@ -40,6 +40,8 @@ impl APIToken { } } +type RequestOutcome = rocket::request::Outcome; + #[rocket::async_trait] impl<'r> FromRequest<'r> for APIToken { type Error = APITokenError; diff --git a/runtime/src/main.rs b/runtime/src/main.rs index 9a2a6169..a8b8fdd6 100644 --- a/runtime/src/main.rs +++ b/runtime/src/main.rs @@ -35,7 +35,6 @@ use mindwork_ai_studio::encryption::{EncryptedText, ENCRYPTION}; use mindwork_ai_studio::environment::{is_dev, is_prod}; use mindwork_ai_studio::log::{init_logging, switch_to_file_logging}; -type RequestOutcome = rocket::request::Outcome; // The .NET server is started in a separate process and communicates with this // runtime process via IPC. However, we do net start the .NET server in