Update lib/@randydev/terabox.js
Browse files- lib/@randydev/terabox.js +1 -2
lib/@randydev/terabox.js
CHANGED
@@ -11,13 +11,12 @@ async function TeraboxDownloader(url) {
|
|
11 |
'Content-Type': 'application/json'
|
12 |
},
|
13 |
data: {
|
14 |
-
url:
|
15 |
}
|
16 |
};
|
17 |
try {
|
18 |
const response = await axios.request(options);
|
19 |
return response.data;
|
20 |
-
console.log(response.data);
|
21 |
} catch (error) {
|
22 |
console.error(error);
|
23 |
return null;
|
|
|
11 |
'Content-Type': 'application/json'
|
12 |
},
|
13 |
data: {
|
14 |
+
url: url
|
15 |
}
|
16 |
};
|
17 |
try {
|
18 |
const response = await axios.request(options);
|
19 |
return response.data;
|
|
|
20 |
} catch (error) {
|
21 |
console.error(error);
|
22 |
return null;
|