removed if check from add_products_to_database
This commit is contained in:
1 parent
6b3bd33739
commit
9e8ab938c7
1 file changed
-3
@@ -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
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user