fullpwerr commited on
Commit
8062168
·
verified ·
1 Parent(s): 34e00f4

Update lib/skrep.js

Browse files
Files changed (1) hide show
  1. lib/skrep.js +1 -1
lib/skrep.js CHANGED
@@ -36,7 +36,7 @@ async function ttt(link) {
36
  image: data.data.images,
37
  };
38
 
39
- if (res.images) {
40
  const outputDir = "./tmp";
41
  await downloadImages(res.images, outputDir);
42
 
 
36
  image: data.data.images,
37
  };
38
 
39
+ if (res.image) {
40
  const outputDir = "./tmp";
41
  await downloadImages(res.images, outputDir);
42