feat: load billing adapters #125

Merged
realaravinth merged 63 commits from load-billing-adapter into master 2025-01-11 19:41:14 +05:30
Showing only changes of commit 7fd781b03d - Show all commits

View file

@ -47,7 +47,7 @@ impl AddProductToStoreFTSPort for InventoryFTSMeili {
product: &Product,
category: &Category,
) -> InventoryFTSResult<()> {
let store_index = self.client.index(category.store_id().to_string());
let store_index = self.client.index(format!("inventory.{}",category.store_id()));
let meili_product = MeiliProduct::new(product, category);
store_index
.add_documents(&[meili_product], Some("product_id"))