mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 02:16:08 +00:00
Fixed LinkNotRecognized is not a constructor
This commit is contained in:
parent
7bb91b382c
commit
bf2c8b5cfb
|
@ -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')){
|
||||
|
|
Loading…
Reference in a new issue