mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
fix(spotify): apply UI-entered Client ID to live SpotifyOAuth without restart [whole-branch I2]
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
399cf0cf41
commit
d796dd48ff
5 files changed
+149
No files matched your search
@@ -132,6 +132,9 @@ export function createWebServer(options: WebServerOptions): WebServer {
|
||||
options.database,
|
||||
options.avatarStore,
|
||||
(cfg) => onGuestPolicyChanged(cfg),
|
||||
// I2: so saving a Client ID in Settings re-configures the live OAuth
|
||||
// (no restart needed for the UI-entered-creds -> Connect flow).
|
||||
options.spotifyOAuth,
|
||||
)
|
||||
);
|
||||
app.use(
|
||||
|
||||
Reference in new issue
Block a user