From bc9c2f8379ab7958d4be729fd2e375ac3384721c Mon Sep 17 00:00:00 2001 From: Rodrigo Emanuel Date: Sat, 3 May 2025 21:25:49 -0300 Subject: [PATCH] Update module.js --- js/twitch/module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/twitch/module.js b/js/twitch/module.js index 0810f3a..0f2c05b 100644 --- a/js/twitch/module.js +++ b/js/twitch/module.js @@ -518,7 +518,7 @@ async function twitchUpdateStatistics(data) { if (showPlatformStatistics == false || showTwitchViewers == false) return; - const viewers = DOMPurify.sanitize(data.viewers); + const viewers = DOMPurify.sanitize(data.viewerCount); document.querySelector('#statistics #twitch .viewers span').textContent = formatNumber(viewers); } @@ -579,4 +579,4 @@ async function getTwitchAvatar(user) { return newavatar; } } -} \ No newline at end of file +}