From ffdedc7b9b6489bd0ca4a58a4aa2e8d10d62fdcf Mon Sep 17 00:00:00 2001 From: 1xDed Date: Fri, 27 Nov 2026 14:57:01 +0300 Subject: [PATCH] fix: type narrowing for the remote session id --- src/utils/methods/transferPlayback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/methods/transferPlayback.ts b/src/utils/methods/transferPlayback.ts index 5aad17a..8141039 100644 --- a/src/utils/methods/transferPlayback.ts +++ b/src/utils/methods/transferPlayback.ts @@ -123,7 +123,7 @@ export const transferSessionToLocal = async ( // Transfer, not cast: the remote device should stop. try { await getSessionApi(api).sendPlaystateCommand({ - sessionId: currentSession.Id, + sessionId: session.Id, command: "Stop", controllingUserId: userId, });