mirror of
https://github.com/flibusta-apps/meilie_updater.git
synced 2025-12-06 07:05:37 +01:00
Use add_or_update
This commit is contained in:
@@ -63,7 +63,7 @@ where
|
||||
})
|
||||
.collect();
|
||||
|
||||
if let Err(err) = index.add_or_replace(&items, Some("id")).await {
|
||||
if let Err(err) = index.add_or_update(&items, Some("id")).await {
|
||||
return Err(Box::new(err));
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user