mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 14:18:00 +00:00
Moved RequestOutcome
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -40,6 +40,8 @@ impl APIToken {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RequestOutcome<R, T> = rocket::request::Outcome<R, T>;
|
||||||
|
|
||||||
#[rocket::async_trait]
|
#[rocket::async_trait]
|
||||||
impl<'r> FromRequest<'r> for APIToken {
|
impl<'r> FromRequest<'r> for APIToken {
|
||||||
type Error = APITokenError;
|
type Error = APITokenError;
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ use mindwork_ai_studio::encryption::{EncryptedText, ENCRYPTION};
|
|||||||
use mindwork_ai_studio::environment::{is_dev, is_prod};
|
use mindwork_ai_studio::environment::{is_dev, is_prod};
|
||||||
use mindwork_ai_studio::log::{init_logging, switch_to_file_logging};
|
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
|
// 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
|
// runtime process via IPC. However, we do net start the .NET server in
|
||||||
|
|||||||
Reference in new issue
Block a user