Skip to content

Commit c5a9b21

Browse files
committed
fix changed ioBroker types
1 parent 645f862 commit c5a9b21

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

templates/main.js.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ ${adapterSettings.map(s => `\t\tthis.log.info("config ${s.key}: " + this.config.
9797
await this.setStateAsync("testVariable", { val: true, ack: true, expire: 30 });
9898
9999
// examples for the checkPassword/checkGroup functions
100-
let result = await this.checkPasswordAsync("admin", "iobroker");
101-
this.log.info("check user admin pw iobroker: " + result);
100+
let pwdResult = await this.checkPasswordAsync("admin", "iobroker");
101+
this.log.info("check user admin pw iobroker: " + pwdResult);
102102
103-
result = await this.checkGroupAsync("admin", "admin");
104-
this.log.info("check group user admin group admin: " + result);
103+
let gropupResult = await this.checkGroupAsync("admin", "admin");
104+
this.log.info("check group user admin group admin: " + gropupResult);
105105
}
106106
107107
/**

templates/src/main.ts.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ ${adapterSettings.map(s => `\t\tthis.log.info("config ${s.key}: " + this.config.
9393
await this.setStateAsync("testVariable", { val: true, ack: true, expire: 30 });
9494
9595
// examples for the checkPassword/checkGroup functions
96-
let result = await this.checkPasswordAsync("admin", "iobroker");
97-
this.log.info("check user admin pw iobroker: " + result);
96+
let pwdResult = await this.checkPasswordAsync("admin", "iobroker");
97+
this.log.info("check user admin pw iobroker: " + pwdResult);
9898
99-
result = await this.checkGroupAsync("admin", "admin");
100-
this.log.info("check group user admin group admin: " + result);
99+
let gropupResult = await this.checkGroupAsync("admin", "admin");
100+
this.log.info("check group user admin group admin: " + gropupResult);
101101
}
102102
103103
/**

0 commit comments

Comments
 (0)