Add debug

This commit is contained in:
2025-10-15 16:05:39 +02:00
parent 02d6f4d01e
commit de185aa31f

View File

@@ -245,6 +245,8 @@ class SonosSoap {
} }
} }
getCredentialsForToken(token: string): SmapiToken { getCredentialsForToken(token: string): SmapiToken {
logger.debug("getCredentialsForToken called with: " + token);
logger.debug("Current tokens: " + JSON.stringify(this.tokens));
return this.tokens[token]!; return this.tokens[token]!;
} }
associateCredentialsForToken(token: string, fullSmapiToken: SmapiToken, oldToken?:string) { associateCredentialsForToken(token: string, fullSmapiToken: SmapiToken, oldToken?:string) {