From 6d08b108200177ca3068c852e60a0df75ce2232a Mon Sep 17 00:00:00 2001 From: darknessgp Date: Mon, 14 Dec 2020 18:14:11 -0600 Subject: [PATCH] fix: changing parameter name to use correct 'port' #276 (#277) Co-authored-by: Ryan Boyles --- server/api/plexapi.ts | 2 +- server/types/plex-api.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/api/plexapi.ts b/server/api/plexapi.ts index d38a77cd6..a3abf0526 100644 --- a/server/api/plexapi.ts +++ b/server/api/plexapi.ts @@ -61,7 +61,7 @@ class PlexAPI { this.plexClient = new NodePlexAPI({ hostname: settings.plex.ip, - post: settings.plex.port, + port: settings.plex.port, token: plexToken, authenticator: { authenticate: ( diff --git a/server/types/plex-api.d.ts b/server/types/plex-api.d.ts index 2c4801676..fd6db2dd9 100644 --- a/server/types/plex-api.d.ts +++ b/server/types/plex-api.d.ts @@ -2,7 +2,7 @@ declare module 'plex-api' { export default class PlexAPI { constructor(intiialOptions: { hostname: string; - post: number; + port: number; token?: string; authenticator: { authenticate: (