mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed Intel AMT event log parsing exception.
This commit is contained in:
parent
d29b30ece5
commit
834544b2b2
2 changed files with 2 additions and 3 deletions
|
@ -488,7 +488,7 @@ function AmtStackCreateService(wsmanStack) {
|
|||
function _GetMessageLog1(stack, name, responses, status, tag) {
|
||||
if (status != 200 || responses.Body["ReturnValue"] != '0') { tag[0](obj, null, tag[2], status); return; }
|
||||
var i, j, x, e, AmtMessages = tag[2], t = new Date(), TimeStamp, ra = responses.Body["RecordArray"];
|
||||
if (typeof ra === 'string') { responses.Body["RecordArray"] = [responses.Body["RecordArray"]]; }
|
||||
if (typeof ra === 'string') { ra = [ra]; }
|
||||
|
||||
for (i in ra) {
|
||||
e = Buffer.from(ra[i], 'base64');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue