Skip to content

Commit

Permalink
update config properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Daniel committed Apr 9, 2024
1 parent 57122a2 commit 85e8067
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class XDIP extends InstanceBase {
},
}

// console.log(this.gotOptions)

this.updateVariables()
this.updateActions()
this.getAccessToken().then(this.getNodes()).then(this.getChannels()).then(this.getCurrentChannel())
Expand All @@ -83,7 +85,11 @@ class XDIP extends InstanceBase {
console.log('configUpdated')

this.config = config
console.log(this.config)
this.gotOptions.prefixUrl = 'https://' + this.config.ipAddress + ':' + this.config.port

// console.log(this.gotOptions)
// console.log(this.config)

this.updateVariables()
this.getAccessToken().then(this.getNodes()).then(this.getChannels()).then(this.getCurrentChannel())
}
Expand Down

0 comments on commit 85e8067

Please sign in to comment.