Обновил отправку тегов с массива на построчный формат

This commit is contained in:
Первов Артем
2026-06-22 02:48:23 +03:00
parent c4c2923f1f
commit de4d6eccbe
3 changed files with 30 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ function toMetric(payload: DemoPlcPayload, timestamp: number): DemoPlcMetric {
}
async function postMetric(metric: DemoPlcMetric): Promise<void> {
const response = await postCloudIngest([metric])
const response = await postCloudIngest(metric)
if (!response.ok) {
const text = await response.text()