Register plex instance with token parameter for authenticated calls to plex (#144)
This commit is contained in:
@@ -3,7 +3,10 @@ import Configuration from "../../../config/configuration.js";
|
||||
|
||||
const configuration = Configuration.getInstance();
|
||||
|
||||
const plex = new Plex(configuration.get("plex", "ip"));
|
||||
const plex = new Plex(
|
||||
configuration.get("plex", "ip"),
|
||||
configuration.get("plex", "token")
|
||||
);
|
||||
|
||||
/**
|
||||
* Controller: Search plex for movies, shows and episodes by query
|
||||
|
||||
Reference in New Issue
Block a user