Spaces:
Paused
Paused
Update lib/skrep.js
Browse files- 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.
|
| 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 |
|