From 6006946ce5e59f90faf33945727f97d65c569339 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 9 Sep 2023 16:52:06 +0000 Subject: [PATCH] rename fetcher to dislikes --- src/libpoketube/libpoketube-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index dc8ef32d..40686547 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -8,7 +8,7 @@ const { toJson } = require("xml2json"); const { curly } = require("node-libcurl"); -const fetcher = require("../libpoketube/libpoketube-fetcher.js"); +const getdislikes = require("../libpoketube/libpoketube-dislikes.js"); const getColors = require("get-image-colors"); const wiki = require("wikipedia"); @@ -104,7 +104,7 @@ class PokeTubeCore { } if (this.checkUnexistingObject(vid)) { - const fe = await fetcher(v); + const fe = await getdislikes(v); try { const headers = {};