More test errors

This commit is contained in:
Wolfgang Kulhanek
2025-10-17 10:22:54 +02:00
parent 54a3e5c1f0
commit 96b27d3cdb

View File

@@ -200,8 +200,8 @@ class SonosSoap {
}; };
} }
reportAccountAction = (args: any, headers: any) => { reportAccountAction = (args: any, _headers: any) => {
logger.info('Sonos reportAccountAction: ' + JSON.stringify(args) + ' Headers: ' + JSON.stringify(headers)); logger.info('Sonos reportAccountAction: ' + JSON.stringify(args));
return {}; return {};
} }
@@ -470,8 +470,6 @@ function bindSmapiSoapServiceToExpress(
} }
const useHeaderIfPresent = (credentials?: Credentials, headers?: IncomingHttpHeaders) => { const useHeaderIfPresent = (credentials?: Credentials, headers?: IncomingHttpHeaders) => {
logger.debug("useHeaderIfPresent header", headers);
const headersProvidedWithToken = headers!==null && headers!== undefined && headers["authorization"]; const headersProvidedWithToken = headers!==null && headers!== undefined && headers["authorization"];
if(headersProvidedWithToken) { if(headersProvidedWithToken) {
logger.debug("Will use authorization header"); logger.debug("Will use authorization header");