mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-20 14:01:11 -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;
|
||||
}
|
||||
case 'getDeviceDetails': {
|
||||
console.log(data.data);
|
||||
if (args.json) {
|
||||
console.log(JSON.stringify(data.data));
|
||||
} else {
|
||||
console.log(data.data);
|
||||
}
|
||||
process.exit();
|
||||
}
|
||||
case 'report': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user