diff options
| author | Christian Schuhmann <[email protected]> | 2023-03-19 02:51:16 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-18 20:51:16 -0500 |
| commit | 5de8b036cbcae01cd11e548427afc449bfd7d0f0 (patch) | |
| tree | 2802fa8366079ff3066f514ca528b180f79e0202 /src/services/third-party.ts | |
| parent | 3940ca7da0dbbbb93ec2f9fc16111386e8369cd7 (diff) | |
| download | muse-5de8b036cbcae01cd11e548427afc449bfd7d0f0.tar.xz muse-5de8b036cbcae01cd11e548427afc449bfd7d0f0.zip | |
Remove package youtube.ts (#902)
Co-authored-by: Max Isom <[email protected]>
Diffstat (limited to 'src/services/third-party.ts')
| -rw-r--r-- | src/services/third-party.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/services/third-party.ts b/src/services/third-party.ts index 706391a..da20f35 100644 --- a/src/services/third-party.ts +++ b/src/services/third-party.ts @@ -1,21 +1,16 @@ import {inject, injectable} from 'inversify'; import SpotifyWebApi from 'spotify-web-api-node'; -import Youtube from 'youtube.ts'; import pRetry from 'p-retry'; import {TYPES} from '../types.js'; import Config from './config.js'; @injectable() export default class ThirdParty { - readonly youtube: Youtube; readonly spotify: SpotifyWebApi; private spotifyTokenTimerId?: NodeJS.Timeout; constructor(@inject(TYPES.Config) config: Config) { - // Library is transpiled incorrectly - // eslint-disable-next-line - this.youtube = new ((Youtube as any).default)(config.YOUTUBE_API_KEY); this.spotify = new SpotifyWebApi({ clientId: config.SPOTIFY_CLIENT_ID, clientSecret: config.SPOTIFY_CLIENT_SECRET, |
