From cc0a565eae9746c7041273ba22b43f9e2f45695b Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Thu, 14 Mar 2024 17:35:59 +0000 Subject: [PATCH] am dum --- src/libpoketube/libpoketube-core.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 5b057561..3f273f71 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -99,12 +99,12 @@ class InnerTubePokeVidious { const vid = await this.getJson(videoInfo); const { json, video } = videoData; - let channel_uploads = null; + var channel_uploads = { }; if (f) { channel_uploads = await fetch( `${this.config.invapi}/channels/${vid.authorId}?hl=${contentlang}®ion=${contentregion}` ); - channel_uploads = this.getJson(await channel_uploads.text()); + var p = this.getJson(await channel_uploads.text()); } if (!vid) { @@ -126,7 +126,7 @@ class InnerTubePokeVidious { video, vid, comments, - channel_uploads, + channel_uploads: p, engagement: fe.engagement, wiki: "", desc: "",