Skip to content

Commit

Permalink
Update platform.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Nov 3, 2023
1 parent f688364 commit c9d670a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,11 @@ export class AugustPlatform implements DynamicPlatformPlugin {
installId: this.config.credentials.installId,
augustId: this.config.credentials.augustId,
password: this.config.credentials.password,
countryCode: this.config.credentials.countryCode,
};
if (this.config.credentials.countryCode !== undefined) {
this.account['countryCode'] = this.config.credentials.countryCode;
this.warnLog(`countryCode: ${this.account.countryCode}`);
}
if (this.config.credentials.apiKey !== undefined) {
this.account['apiKey'] = this.config.credentials.apiKey;
this.warnLog(`apiKey: ${this.account.apiKey}`);
Expand Down

0 comments on commit c9d670a

Please sign in to comment.