Additional cleanup and warning fixing
This commit is contained in:
@@ -20,7 +20,6 @@ pub struct AppState {
|
||||
pub ollama: OllamaClient,
|
||||
pub sms_client: SmsApiClient,
|
||||
pub insight_generator: InsightGenerator,
|
||||
pub insight_dao: Arc<Mutex<Box<dyn InsightDao>>>,
|
||||
}
|
||||
|
||||
impl AppState {
|
||||
@@ -34,7 +33,6 @@ impl AppState {
|
||||
ollama: OllamaClient,
|
||||
sms_client: SmsApiClient,
|
||||
insight_generator: InsightGenerator,
|
||||
insight_dao: Arc<Mutex<Box<dyn InsightDao>>>,
|
||||
) -> Self {
|
||||
let playlist_generator = PlaylistGenerator::new();
|
||||
let video_playlist_manager =
|
||||
@@ -51,7 +49,6 @@ impl AppState {
|
||||
ollama,
|
||||
sms_client,
|
||||
insight_generator,
|
||||
insight_dao,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +129,6 @@ impl Default for AppState {
|
||||
ollama,
|
||||
sms_client,
|
||||
insight_generator,
|
||||
insight_dao,
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -201,7 +197,6 @@ impl AppState {
|
||||
ollama,
|
||||
sms_client,
|
||||
insight_generator,
|
||||
insight_dao,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user