From bcde8c48367c8bfb09064369f639433def1417d1 Mon Sep 17 00:00:00 2001 From: Thiago Padilha Date: Thu, 5 Oct 2023 14:56:27 -0300 Subject: [PATCH] Fix typings Signed-off-by: Thiago Padilha --- packages/frontend/hooks/useFluentBitStream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/hooks/useFluentBitStream.ts b/packages/frontend/hooks/useFluentBitStream.ts index 2dfe6c4b..0eae6485 100644 --- a/packages/frontend/hooks/useFluentBitStream.ts +++ b/packages/frontend/hooks/useFluentBitStream.ts @@ -41,7 +41,7 @@ async function fetchStream(vivoExporterUrl: string, kind: StreamKind, lastId: nu if (Array.isArray(record)) { records.push({ record, rawEvent: JSON.stringify(record[1]), rawMetadata: JSON.stringify(record[0][1]), id: id-- }); } else { - records.push({ record, id: id-- }); + records.push({ record, rawEvent: '', rawMetadata: '', id: id-- }); } } return records