Skip to content

Commit

Permalink
Fix typings
Browse files Browse the repository at this point in the history
Signed-off-by: Thiago Padilha <[email protected]>
  • Loading branch information
tchrono authored and edsiper committed Oct 5, 2023
1 parent ab70fbe commit bcde8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/hooks/useFluentBitStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcde8c4

Please sign in to comment.