From 8ef6e2064d7764fe3fe909998efb48e568d6ae7b Mon Sep 17 00:00:00 2001 From: Wolfgang Kulhanek Date: Fri, 17 Oct 2025 10:28:15 +0200 Subject: [PATCH] Fix tests --- src/smapi.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/smapi.ts b/src/smapi.ts index 25db90d..befe528 100644 --- a/src/smapi.ts +++ b/src/smapi.ts @@ -545,9 +545,9 @@ function bindSmapiSoapServiceToExpress( Sonos: { SonosSoap: { getAppLink: () => sonosSoap.getAppLink(), - reportAccountAction: (args: any, _: any, __: any, { headers }: Pick) => - sonosSoap.reportAccountAction(args, headers), - getDeviceAuthToken: ({ linkCode }: { linkCode: string }) =>{ + reportAccountAction: (args: any) => + sonosSoap.reportAccountAction(args, undefined), + getDeviceAuthToken: ({ linkCode }: { linkCode: string}) =>{ const deviceAuthTokenResult = sonosSoap.getDeviceAuthToken({ linkCode }); const smapiToken:SmapiToken = { token: deviceAuthTokenResult.getDeviceAuthTokenResult.authToken,