Skip to content

Commit

Permalink
fix: changing parameter name to use correct 'port' #276 (#277)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Boyles <Ryan.Boyles@ahstech.com>
  • Loading branch information
rboylesDev and Ryan Boyles committed Dec 15, 2020
1 parent 78af1a3 commit 6d08b10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/api/plexapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: (
Expand Down
2 changes: 1 addition & 1 deletion server/types/plex-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ declare module 'plex-api' {
export default class PlexAPI {
constructor(intiialOptions: {
hostname: string;
post: number;
port: number;
token?: string;
authenticator: {
authenticate: (
Expand Down

0 comments on commit 6d08b10

Please sign in to comment.