Skip to content

Commit

Permalink
fix remote url
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Dec 15, 2023
1 parent 88c4ad9 commit f635c75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,11 @@ class Tedee extends utils.Adapter {
this.updateDevices();
return;
}

const url = 'http://' + this.config.bridgeip + '/' + this.apiVersion + '/lock/' + deviceId + '/' + command;
this.log.debug('Sending url: ' + url);
await this.requestClient({
method: 'POST',
url: 'http://' + this.config.bridgeip + '/' + this.apiVersion + '/' + deviceId + '/' + command,
url: url,
headers: {
acceot: '*/*',
api_token: this.hashedAPIKey(),
Expand Down

0 comments on commit f635c75

Please sign in to comment.