Replaced all fetch alternatives from source code and package.json
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user