From 57d5bb171ebe55f4634452cdc03fac4c3982aeff Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 30 Sep 2023 05:09:52 +0000 Subject: [PATCH] mb lmao --- src/libpoketube/libpoketube-dislikes.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libpoketube/libpoketube-dislikes.js b/src/libpoketube/libpoketube-dislikes.js index 03a87500..7958ee92 100644 --- a/src/libpoketube/libpoketube-dislikes.js +++ b/src/libpoketube/libpoketube-dislikes.js @@ -48,6 +48,8 @@ class PokeTubeAPI { * @private */ async _getEngagementData(videoId) { + const { fetch } = await import("undici"); + const apiUrl = `https://returnyoutubedislikeapi.com/votes?videoId=${videoId}`; try {