Commit 116d236f authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '2-missing-metadata' into 'master'

Resolve "missing metadata"

Closes #2

See merge request !2
parents 44a6bad2 eee49c27
......@@ -46,6 +46,7 @@ export class ElasticsearchTransformer extends Transform {
}
public async _transform(chunk, encoding, callback) {
this.batch.push(this.prepareMeta(chunk.parsed));
this.batch.push(this.prepareData(chunk.parsed));
if (this.batch.length > this.batchSize) {
try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment