Skip to content

Commit

Permalink
fix(spotify): Convert URL to string for redirectUri
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Jun 5, 2024
1 parent 63b57e1 commit 09969dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/sources/SpotifySource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default class SpotifySource extends MemorySource {
redirectUri,
} = this.config.data || {};

const rdUri = redirectUri || joinedUrl(this.localUrl, 'callback');
const rdUri: string = redirectUri || joinedUrl(this.localUrl, 'callback').toString();

const apiConfig = {
clientId,
Expand Down

0 comments on commit 09969dd

Please sign in to comment.