Skip to content

Commit

Permalink
fix(spotify): remove forced dash.sogebot.xyz redirectURI
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Jan 13, 2025
1 parent e6aa49c commit 6c1c8f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/integrations/spotify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Spotify extends Integration {
@settings('connection')
clientSecret = '';
@settings('connection')
redirectURI = 'http://localhost:20000/credentials/oauth/spotify'; // TODO: remove after old ui is removed
redirectURI = 'https://dash.sogebot.xyz/credentials/spotify';
@settings('connection')
username = '';

Expand Down Expand Up @@ -398,7 +398,6 @@ class Spotify extends Integration {
}
@Post('/', { action: 'code', zodValidator: z.object({ code: z.string() }) })
async setCode(req: Request) {
this.redirectURI = 'https://dash.sogebot.xyz/credentials/spotify';
const waitForUsername = () => {
return new Promise((resolve) => {
const check = async () => {
Expand Down

0 comments on commit 6c1c8f3

Please sign in to comment.