mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-21 06:21:12 -04:00
forgot to fix meshctrl for json output from getDeviceDetails
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
parent
cadc0d03d2
commit
9bc2b3f4cf
@ -2592,7 +2592,11 @@ function serverConnect() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'getDeviceDetails': {
|
case 'getDeviceDetails': {
|
||||||
console.log(data.data);
|
if (args.json) {
|
||||||
|
console.log(JSON.stringify(data.data));
|
||||||
|
} else {
|
||||||
|
console.log(data.data);
|
||||||
|
}
|
||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
case 'report': {
|
case 'report': {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user