Skip to content

Commit

Permalink
sendto devices corr
Browse files Browse the repository at this point in the history
  • Loading branch information
foxthefox committed Nov 18, 2023
1 parent 0278c72 commit 97704b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ class Fritzdect extends utils.Adapter {
this.log.debug('devices' + xml);
result = xml;
if (obj.callback) {
this.sendTo(obj.from, obj.command, { error: JSON.stringify(result) }, obj.callback);
this.sendTo(obj.from, obj.command, { error: result }, obj.callback);
}
} catch (error) {
this.log.warn('error calling in msgbox devices' + error);
Expand Down

0 comments on commit 97704b0

Please sign in to comment.