Khrisna commited on
Commit
b1819dc
·
1 Parent(s): 3366c30

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -242,7 +242,7 @@ async function waifu2x(urls, formats) {
242
 
243
  const images = await axios.request({
244
  method: "GET",
245
- url: "https://api.alcaamado.es/api/v2/waifu2x/get?hash=" + response + "&type=jpg",
246
  headers: {
247
  "Accept": "image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8",
248
  "Content-Type": "image/jpg",
 
242
 
243
  const images = await axios.request({
244
  method: "GET",
245
+ url: "https://api.alcaamado.es/api/v2/waifu2x/get?hash=" + response.data.hash + "&type=jpg",
246
  headers: {
247
  "Accept": "image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8",
248
  "Content-Type": "image/jpg",