mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 12:18:14 +01:00
rename fetcher to dislikes
This commit is contained in:
parent
355e721c6f
commit
6006946ce5
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
const { toJson } = require("xml2json");
|
const { toJson } = require("xml2json");
|
||||||
const { curly } = require("node-libcurl");
|
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 getColors = require("get-image-colors");
|
||||||
const wiki = require("wikipedia");
|
const wiki = require("wikipedia");
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ class PokeTubeCore {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.checkUnexistingObject(vid)) {
|
if (this.checkUnexistingObject(vid)) {
|
||||||
const fe = await fetcher(v);
|
const fe = await getdislikes(v);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const headers = {};
|
const headers = {};
|
||||||
|
|
Loading…
Reference in a new issue