Skip to content

Commit

Permalink
Same string type
Browse files Browse the repository at this point in the history
  • Loading branch information
webdev03 committed Nov 5, 2023
1 parent 545e9dd commit f9ec900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/classes/cloud/CloudConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class CloudConnection extends events.EventEmitter {
for (const message of e.toString().split("\n")) {
const obj = JSON.parse(message || '{"method": "err"}');
if (obj.method == "set") {
this.emit("set", { name: obj.name, value: obj.value });
this.variables.set(obj.name, obj.value);
this.emit("set", { name: obj.name, value: obj.value.toString() });
this.variables.set(obj.name, obj.value.toString());
}
}
});
Expand Down

0 comments on commit f9ec900

Please sign in to comment.