removed if check from add_products_to_database

This commit is contained in:
TPV committed 2026-07-06 14:30:43 -07:00
1 parent 6b3bd33739
commit 9e8ab938c7
1 file changed
-3
-3
View File
@@ -82,9 +82,6 @@ async def add_products_to_database(
keep one doc per variant; other monitors collapse to one doc per keep one doc per variant; other monitors collapse to one doc per
product_id. product_id.
""" """
if not products:
return
doc_ids = [ doc_ids = [
build_doc_id(p.product_id, category_identifier, use_composite) for p in products build_doc_id(p.product_id, category_identifier, use_composite) for p in products
] ]