Merge pull request 'BUR-61 Изменил чтение поля value в ingest.controller' (#6) from bur-61 into dev
Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
@@ -22,7 +22,7 @@ export class IngestController {
|
|||||||
const points = Object.entries(body.values).map(([tag, value]) => ({
|
const points = Object.entries(body.values).map(([tag, value]) => ({
|
||||||
edge,
|
edge,
|
||||||
tag,
|
tag,
|
||||||
value: value === null ? null : Number(value),
|
value,
|
||||||
timestamp: body.timestamp,
|
timestamp: body.timestamp,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user