Commit 87f4c649 authored by edwin's avatar edwin

change the zip name back to sku only

parent 5361f943
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
for (let SKU of SKUlist) { for (let SKU of SKUlist) {
let assetlist = await fetchSKU(SKU); let assetlist = await fetchSKU(SKU);
let downloadlist = filtering(assetlist, SKU); let downloadlist = filtering(assetlist, SKU);
await downloadList(downloadlist["product"], `${SKU}_product`); await downloadList(downloadlist["product"], `${SKU}`);
await sleep(sleepTime); await sleep(sleepTime);
await downloadList(downloadlist["model"], `${SKU}_model`); await downloadList(downloadlist["model"], `${SKU}_model`);
await sleep(sleepTime); await sleep(sleepTime);
...@@ -315,8 +315,8 @@ ...@@ -315,8 +315,8 @@
"mode": "cors", "mode": "cors",
"redirect": "follow", "redirect": "follow",
"body": json "body": json
})
.then(response => response.json()) }).then(response => response.json())
.catch(error => { .catch(error => {
addDebugMessage("Fetch error on DownloadList - POST request: " + error); addDebugMessage("Fetch error on DownloadList - POST request: " + error);
throw new Error("Fetch error on DownloadList - POST request: " + error); throw new Error("Fetch error on DownloadList - POST request: " + error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment