Skip to content

Commit 67fd14a

Browse files
committed
json stringify for object values in status
1 parent 580b690 commit 67fd14a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arduino-cloud.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ function getStatus(value) {
340340
return value.toFixed(3);
341341
else
342342
return value;
343+
} else {
344+
return JSON.stringify(value);
343345
}
344346
return;
345347
}

0 commit comments

Comments
 (0)