shop product refactoring
This commit is contained in:
@@ -18,7 +18,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
async def process_marketplace_import(
|
||||
job_id: int, url: str, marketplace: str, shop_name: str, batch_size: int = 1000
|
||||
job_id: int, url: str, marketplace: str, vendor_name: str, batch_size: int = 1000
|
||||
):
|
||||
"""Background task to process marketplace CSV import."""
|
||||
db = SessionLocal()
|
||||
@@ -44,7 +44,7 @@ async def process_marketplace_import(
|
||||
|
||||
# Process CSV
|
||||
result = await csv_processor.process_marketplace_csv_from_url(
|
||||
url, marketplace, shop_name, batch_size, db
|
||||
url, marketplace, vendor_name, batch_size, db
|
||||
)
|
||||
|
||||
# Update job with results
|
||||
|
||||
Reference in New Issue
Block a user