From c7a13c948c5bb833095ee3aa46bdb09ec4d47151 Mon Sep 17 00:00:00 2001 From: LuanRT Date: Sat, 12 Nov 2022 19:02:40 -0300 Subject: [PATCH] chore: remove unnecessary code --- src/Innertube.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Innertube.ts b/src/Innertube.ts index b4dc5bbd..84c2fd30 100644 --- a/src/Innertube.ts +++ b/src/Innertube.ts @@ -69,7 +69,7 @@ class Innertube { async getInfo(video_id: string, client?: InnerTubeClient) { const cpn = generateRandomString(16); - const initial_info = await this.actions.getVideoInfo(video_id, cpn, client); + const initial_info = this.actions.getVideoInfo(video_id, cpn, client); const continuation = this.actions.execute('/next', { videoId: video_id }); const response = await Promise.all([ initial_info, continuation ]);