Moved RequestOutcome

This commit is contained in:
tsommer committed 2024-11-05 19:28:52 +01:00
1 parent 565a3edf30
commit 60585dc8f2
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -40,6 +40,8 @@ impl APIToken {
}
}
type RequestOutcome<R, T> = rocket::request::Outcome<R, T>;
#[rocket::async_trait]
impl<'r> FromRequest<'r> for APIToken {
type Error = APITokenError;
-1
View File
@@ -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<R, T> = rocket::request::Outcome<R, T>;
// 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