Replaced all fetch alternatives from source code and package.json

This commit is contained in:
2022-08-20 16:59:50 +02:00
parent 16469ee2eb
commit 098ee95f40
8 changed files with 38 additions and 41 deletions

View File

@@ -1,7 +1,10 @@
const PlexRepository = require("../../../plex/plexRepository");
const configuration = require("../../../config/configuration").getInstance();
const plexRepository = new PlexRepository(configuration.get("plex", "ip"));
const plexRepository = new PlexRepository(
configuration.get("plex", "ip"),
configuration.get("plex", "token")
);
function playingController(req, res) {
plexRepository