eprolo-cli 1.0.95 → 1.0.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/eprolo-cli.js CHANGED
@@ -253,7 +253,7 @@ async function insertProduct(arg) {
253
253
  info.optionList=optionList;
254
254
  info.variantsList=variantsList;
255
255
  info.imageList=imageList;
256
- product.variants.forEach((variant,index)=>{
256
+ product.variants.edges.forEach((variant,index)=>{
257
257
  let newInfo={
258
258
  image_id:getId(variant.id),
259
259
  title:variant.title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "description": "CLI for Dianxiaobao ICBU AI publishing, authorization profile management, task submission, and task status checks.",
5
5
  "bin": {
6
6
  "eprolo": "bin/eprolo-cli.js"