From bf2c8b5cfbe1257d8a86ed8859f922c9dd9edd9a Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 18 Feb 2022 15:11:10 +0100 Subject: [PATCH] Fixed LinkNotRecognized is not a constructor --- deemix/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deemix/index.js b/deemix/index.js index 57a61d8..818378b 100644 --- a/deemix/index.js +++ b/deemix/index.js @@ -5,10 +5,12 @@ const { generatePlaylistItem, generateArtistItem, generateArtistDiscographyItem, - generateArtistTopItem, + generateArtistTopItem +} = require('./itemgen.js') +const { LinkNotSupported, LinkNotRecognized -} = require('./itemgen.js') +} = require('./errors.js') async function parseLink(link){ if (link.includes('deezer.page.link')){