Update index.js
Browse files
index.js
CHANGED
|
@@ -994,7 +994,7 @@ return res.json({ message: e.message });
|
|
| 994 |
const match = ytIdRegex.exec(q);
|
| 995 |
if (match && match[1]) {
|
| 996 |
let ytId = match[1];
|
| 997 |
-
data = await yts(
|
| 998 |
return res.json(data);
|
| 999 |
} else {
|
| 1000 |
data = await yts(q);
|
|
|
|
| 994 |
const match = ytIdRegex.exec(q);
|
| 995 |
if (match && match[1]) {
|
| 996 |
let ytId = match[1];
|
| 997 |
+
data = await yts(ytId);
|
| 998 |
return res.json(data);
|
| 999 |
} else {
|
| 1000 |
data = await yts(q);
|