Closed megastef closed 8 years ago
I get an error in this line: https://github.com/mcollina/pino-elasticsearch/blob/master/pino-elasticsearch.js#L76
/usr/local/lib/node_modules/pino-elasticsearch/pino-elasticsearch.js:76 data.body = body
To fix it, i removed the line and changed line 77 to: splitter.emit('insert', data, body})
splitter.emit('insert', data, body})
I get an error in this line: https://github.com/mcollina/pino-elasticsearch/blob/master/pino-elasticsearch.js#L76
/usr/local/lib/node_modules/pino-elasticsearch/pino-elasticsearch.js:76 data.body = body
To fix it, i removed the line and changed line 77 to:
splitter.emit('insert', data, body})