diff --git a/TwitchConfig.json b/TwitchConfig.json index 1e2a0c2290e9e4fd54cd499ab05e98abfda693cb..548a7b280245e9bc8fb7a60089ba9810531aeb31 100644 --- a/TwitchConfig.json +++ b/TwitchConfig.json @@ -7,7 +7,7 @@ "sourceUrl": "https://plugins.grayjay.app/Twitch/TwitchConfig.json", "repositoryUrl": "https://futo.org", "scriptUrl": "./TwitchScript.js", - "version": 11, + "version": 12, "iconUrl": "./twitch.png", "id": "c0f315f9-0992-4508-a061-f2738724c331", diff --git a/TwitchScript.js b/TwitchScript.js index 3b52a5b2d361077aad0eddea14fbf9a984881dfe..7d5572cd33ec85762f6df41dd98500a15333e31e 100644 --- a/TwitchScript.js +++ b/TwitchScript.js @@ -939,7 +939,7 @@ function getChannelPager(context) { const edges = json.data.user.videos.edges - const videos = edges.map((edge) => { + let videos = edges.map((edge) => { return new PlatformVideo({ id: new PlatformID(PLATFORM, edge.node.id, config.id), name: edge.node.title,