Update deps
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled

This commit is contained in:
2024-12-24 20:17:29 +01:00
parent f2346c7f0c
commit bf48f57a9f
3 changed files with 968 additions and 712 deletions

View File

@@ -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();