fix: put diagnostic timestamps in the right fields
This commit is contained in:
parent
fc649a0b99
commit
e9d219bc6c
1 changed files with 4 additions and 4 deletions
|
|
@ -61,11 +61,11 @@ function toMachineObject(r) {
|
|||
timestamp: r.diagnostics_timestamp
|
||||
? new Date(r.diagnostics_timestamp)
|
||||
: null,
|
||||
scanTimestamp: r.diagnostics_scan_timestamp
|
||||
? new Date(r.diagnostics_scan_timestamp)
|
||||
scanTimestamp: r.diagnostics_scan_updated_at
|
||||
? new Date(r.diagnostics_scan_updated_at)
|
||||
: null,
|
||||
frontTimestamp: r.diagnostics_front_timestamp
|
||||
? new Date(r.diagnostics_front_timestamp)
|
||||
frontTimestamp: r.diagnostics_front_updated_at
|
||||
? new Date(r.diagnostics_front_updated_at)
|
||||
: null,
|
||||
},
|
||||
pairedAt: new Date(r.created),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue