mirror of
https://github.com/flibusta-apps/meilie_updater.git
synced 2025-12-06 15:15:37 +01:00
This commit is contained in:
@@ -33,11 +33,12 @@ fn get_meili_client() -> Client {
|
||||
config::CONFIG.meili_host.clone(),
|
||||
Some(config::CONFIG.meili_master_key.clone()),
|
||||
)
|
||||
.unwrap()
|
||||
}
|
||||
|
||||
async fn update_model<T>(pool: Pool) -> Result<(), Box<dyn std::error::Error + Send>>
|
||||
where
|
||||
T: UpdateModel + Serialize,
|
||||
T: UpdateModel + Serialize + Send + Sync,
|
||||
{
|
||||
let client = pool.get().await.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user