Skip to content

Commit 91929bc

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Kurt VanDusen <info@equationalapplications.com>
1 parent e3b42a5 commit 91929bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloud-agent/src/tools/vaultTools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function dispatchLocalIfConnected(
7474
): Promise<void> {
7575
const conn = deps.desktopBridge?.get(deps.firebaseUid, deviceId)
7676
const ws = conn?.ws
77-
if (!ws || ws.readyState !== (ws as WebSocket).OPEN) return
77+
if (!ws || ws.readyState !== 1) return
7878
await deps.firestoreSession.markDesktopTaskExecuting(deps.firebaseUid, taskId)
7979
ws.send(JSON.stringify({ type: 'task', taskId, tool: wireTool, params }))
8080
}

0 commit comments

Comments
 (0)