Update index.js
Browse files999 unmodified lines10001001100210031004100510061007999 unmodified linesdata = await yts(q);}if (!data.all[0]) return res.json({ message: 'Not found' });return res.json(data.all);} catch (e) {console.log(e);return res.json({ message: e.message });999 unmodified lines10001001100210031004100510061007999 unmodified linesdata = await yts(q);}if (!data?.all[0]) return res.json({ message: 'Not found' });return res.json(data?.all);} catch (e) {console.log(e);return res.json({ message: e.message });
index.js+2-2