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,
|
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')){
|
||||||
|
|
Loading…
Reference in a new issue