migrate dump images command to use model listings
This commit is contained in:
parent
4f5a934fa9
commit
ba87d07cd2
6 changed files with 99 additions and 20 deletions
|
|
@ -65,7 +65,7 @@ async def dump_listings(
|
|||
for listing, detail in zip(listings_without_details, listing_details):
|
||||
listing._details_object = detail
|
||||
|
||||
model_listings = await repository.upsert_listings(listings) # upsert in db
|
||||
model_listings = await repository.upsert_listings_legacy(listings) # upsert in db
|
||||
await dump_listings_to_fs(listings)
|
||||
|
||||
return model_listings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue