Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
gu imageworks extension
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
joetsuihk
gu imageworks extension
Commits
87f4c649
Commit
87f4c649
authored
Feb 10, 2022
by
edwin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the zip name back to sku only
parent
5361f943
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fetch.js
fetch/fetch.js
+3
-3
No files found.
fetch/fetch.js
View file @
87f4c649
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment