mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-20 01:50:22 -05:00
forgot to fix meshctrl for json output from getDeviceDetails
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user