Fix spotify-uri import

Closes https://github.com/codetheweb/muse/issues/660
This commit is contained in:
Max Isom 2022-05-16 17:50:22 -04:00
parent e5c2d33eb4
commit 499028a6b9
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
2 changed files with 2 additions and 2 deletions

View file

@ -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';

View file

@ -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';