Update index.js
Browse files999 unmodified lines1000100110021003100410031004100510061007999 unmodified lines data = await yts(q); }
if (!data.all[0]) return res.json({ message: 'Not found' }); return res.json(data.all); 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