From 66ae6e10a7e6add6193648290f5dcb9dfec1a4ba Mon Sep 17 00:00:00 2001 From: nutty Date: Mon, 24 Aug 2026 06:45:49 +1000 Subject: [PATCH] Payload changes YUCK YUCK YUCK! --- twitch-ad-countdown-timer/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch-ad-countdown-timer/script.js b/twitch-ad-countdown-timer/script.js index 7d3b993..bae7b05 100644 --- a/twitch-ad-countdown-timer/script.js +++ b/twitch-ad-countdown-timer/script.js @@ -146,7 +146,7 @@ client.on('Twitch.UpcomingAd', (response) => { ///////////////////// function TwitchAdRun(data) { - const duration = data.length_seconds; + const duration = data.lengthSeconds ?? data.length_seconds; // Unset the upcoming ad countdown warning upcomingAdWarningStartDelay = null;