From 96b27d3cdb8dd73b316f0e3951e40aae4af9bcc2 Mon Sep 17 00:00:00 2001 From: Wolfgang Kulhanek Date: Fri, 17 Oct 2025 10:22:54 +0200 Subject: [PATCH] More test errors --- src/smapi.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/smapi.ts b/src/smapi.ts index 0b2eec7..25db90d 100644 --- a/src/smapi.ts +++ b/src/smapi.ts @@ -200,8 +200,8 @@ class SonosSoap { }; } - reportAccountAction = (args: any, headers: any) => { - logger.info('Sonos reportAccountAction: ' + JSON.stringify(args) + ' Headers: ' + JSON.stringify(headers)); + reportAccountAction = (args: any, _headers: any) => { + logger.info('Sonos reportAccountAction: ' + JSON.stringify(args)); return {}; } @@ -470,8 +470,6 @@ function bindSmapiSoapServiceToExpress( } const useHeaderIfPresent = (credentials?: Credentials, headers?: IncomingHttpHeaders) => { - logger.debug("useHeaderIfPresent header", headers); - const headersProvidedWithToken = headers!==null && headers!== undefined && headers["authorization"]; if(headersProvidedWithToken) { logger.debug("Will use authorization header");