From 499028a6b9a84b2e2d03fe0334979db3f48a996e Mon Sep 17 00:00:00 2001 From: Max Isom Date: Mon, 16 May 2022 17:50:22 -0400 Subject: [PATCH] Fix spotify-uri import Closes https://github.com/codetheweb/muse/issues/660 --- src/services/get-songs.ts | 2 +- src/services/spotify-api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/get-songs.ts b/src/services/get-songs.ts index e7f9b45..fbb4937 100644 --- a/src/services/get-songs.ts +++ b/src/services/get-songs.ts @@ -1,5 +1,5 @@ import {inject, injectable} from 'inversify'; -import spotifyURI from 'spotify-uri'; +import * as spotifyURI from 'spotify-uri'; import {SongMetadata, QueuedPlaylist, MediaSource} from '../services/player.js'; import {TYPES} from '../types.js'; import ffmpeg from 'fluent-ffmpeg'; diff --git a/src/services/spotify-api.ts b/src/services/spotify-api.ts index 4347df2..8248b27 100644 --- a/src/services/spotify-api.ts +++ b/src/services/spotify-api.ts @@ -1,6 +1,6 @@ import {URL} from 'url'; import {inject, injectable} from 'inversify'; -import spotifyURI from 'spotify-uri'; +import * as spotifyURI from 'spotify-uri'; import Spotify from 'spotify-web-api-node'; import {TYPES} from '../types.js'; import ThirdParty from './third-party.js';