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: (