Fixed LinkNotRecognized is not a constructor

This commit is contained in:
RemixDev 2022-02-18 15:11:10 +01:00
parent 7bb91b382c
commit bf2c8b5cfb
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -5,10 +5,12 @@ const {
generatePlaylistItem, generatePlaylistItem,
generateArtistItem, generateArtistItem,
generateArtistDiscographyItem, generateArtistDiscographyItem,
generateArtistTopItem, generateArtistTopItem
} = require('./itemgen.js')
const {
LinkNotSupported, LinkNotSupported,
LinkNotRecognized LinkNotRecognized
} = require('./itemgen.js') } = require('./errors.js')
async function parseLink(link){ async function parseLink(link){
if (link.includes('deezer.page.link')){ if (link.includes('deezer.page.link')){