diff --git a/main.js b/main.js index 8c50203..3afdba1 100644 --- a/main.js +++ b/main.js @@ -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);