Khrisna commited on
Commit
c358a6b
·
verified ·
1 Parent(s): 7dd38d4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -427,7 +427,7 @@ app.post('/api/youtube/info', async (req, res) => {
427
  if (!videoID) return res.json({ success: false, message: 'Id Video Not Found!!!' })
428
  const response = await ytdl.getInfo(videoID)
429
  res.json({
430
- status: "ok",
431
  result: { ...response }
432
  })
433
  } catch (e) {
 
427
  if (!videoID) return res.json({ success: false, message: 'Id Video Not Found!!!' })
428
  const response = await ytdl.getInfo(videoID)
429
  res.json({
430
+ success: true,
431
  result: { ...response }
432
  })
433
  } catch (e) {