Update index.js
Browse files
index.js
CHANGED
@@ -395,7 +395,7 @@ async function waifu2x(image, formats) {
|
|
395 |
}
|
396 |
})
|
397 |
|
398 |
-
const ress = await axios.request({
|
399 |
method: "GET",
|
400 |
url: "https://api.alcaamado.es/api/v2/waifu2x/check?hash=" + response.data.hash,
|
401 |
headers: {
|
@@ -405,7 +405,7 @@ async function waifu2x(image, formats) {
|
|
405 |
}
|
406 |
})
|
407 |
|
408 |
-
if(ress.data.finished) return "Images Not Supported!!"
|
409 |
|
410 |
const images = await axios.request({
|
411 |
method: "GET",
|
|
|
395 |
}
|
396 |
})
|
397 |
|
398 |
+
/*const ress = await axios.request({
|
399 |
method: "GET",
|
400 |
url: "https://api.alcaamado.es/api/v2/waifu2x/check?hash=" + response.data.hash,
|
401 |
headers: {
|
|
|
405 |
}
|
406 |
})
|
407 |
|
408 |
+
if(ress.data.finished) return "Images Not Supported!!"*/
|
409 |
|
410 |
const images = await axios.request({
|
411 |
method: "GET",
|