Parsed mongo doc correctly in Normalization function
This commit is contained in:
1 parent
b94d93e276
commit
6d3ed27f31
3 files changed
+1
-3
No files matched your search
@@ -40,7 +40,7 @@ const NormalizeData = (checks, rangeMin, rangeMax) => {
|
||||
return normalizedChecks;
|
||||
} else {
|
||||
return checks.map((check) => {
|
||||
return { ...check, originalResponseTime: check.responseTime };
|
||||
return { ...check._doc, originalResponseTime: check.responseTime };
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user