From 486f0259db32d7ebecaff2b194f96d1eab840c55 Mon Sep 17 00:00:00 2001 From: TimeForANinja Date: Wed, 30 Aug 2017 14:44:07 +0200 Subject: [PATCH] fix difference between readme - typings and index.js (#216) --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index e488dc1d..20c7f15a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -29,7 +29,7 @@ var ytdl = module.exports = function ytdl(link, options) { ytdl.getInfo = getInfo; ytdl.chooseFormat = util.chooseFormat; ytdl.filterFormats = util.filterFormats; -ytdl.validateId = util.validateLink; +ytdl.validateLink = util.validateLink; ytdl.cache = cache;