From 7e7830f57d8d45e313c8388fd126e48e296f90dd Mon Sep 17 00:00:00 2001 From: Wolfgang Kulhanek Date: Tue, 14 Oct 2025 19:13:36 +0200 Subject: [PATCH] Change mapping --- src/smapi.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/smapi.ts b/src/smapi.ts index c9c38fc..41bf21a 100644 --- a/src/smapi.ts +++ b/src/smapi.ts @@ -198,10 +198,8 @@ class SonosSoap { }; } - reportAccountAction(args: any, headers: any) { - // Sonos calls this after a user adds or removes an account. - // It's safe to just acknowledge the call. - logger.info('Sonos reportAccountAction: ' + args + 'Headers: ' + headers); + reportAccountAction = (args: any, headers: any) => { + logger.info('Sonos reportAccountAction: ' + JSON.stringify(args) + ' Headers: ' + JSON.stringify(headers)); return {}; }