From 9ca2e84847ab23ccf0b73236e9bee15b4861c592 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 14 Jan 2026 15:41:54 +0200 Subject: [PATCH] oops --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 30300af..ee9c1ff 100644 --- a/index.js +++ b/index.js @@ -68,7 +68,7 @@ const loop = async () => { ); const { state } = await response.json(); const isLive = state.id === 1; // published - console.info('Live: ', isLive, currentlyLive) + console.info('Live: ', isLive, globalState.currentlyLive) const stateChange = isLive !== globalState.currentlyLive; console.info('State change', stateChange) globalState.currentlyLive = isLive;