Skip to content

Commit 60ac362

Browse files
authored
Oh no!
There is a big mistake that I have now noticed. It will be updated on npm.
1 parent 8b0dffd commit 60ac362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
},
88
getVideo: function request(videoURL,callback) {
99
info = []
10-
if (!videoURLl) return console.error("No URL Provided");
10+
if (!videoURL) return console.error("No URL Provided");
1111
if (!_key) return console.warn("API Key is Invalid");
1212

1313
var _id = videoURL.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);

0 commit comments

Comments
 (0)