Skip to content

Commit

Permalink
Merge pull request #235 from Uniswap/output-newline-json
Browse files Browse the repository at this point in the history
chore: output intermediary S3 data as JSONL
  • Loading branch information
blairmason authored Nov 16, 2023
2 parents 83ede61 + 6c981d9 commit 88db060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/blueprints/cw-log-firehose-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function processRecords(records, transformFn) {
recordId: recId,
};
} else if (data.messageType === 'DATA_MESSAGE') {
const joinedData = data.logEvents.map((e) => transformFn(e)).join('');
const joinedData = data.logEvents.map((e) => transformFn(e)).join('\n');
const encodedData = Buffer.from(joinedData, 'utf-8').toString('base64');
return {
data: encodedData,
Expand Down

0 comments on commit 88db060

Please sign in to comment.