mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 17:39:47 +00:00
Moved RequestOutcome
This commit is contained in:
parent
565a3edf30
commit
60585dc8f2
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user