diff --git a/lib/apiswagger.js b/lib/apiswagger.js index b3a3ff0..fd9a953 100644 --- a/lib/apiswagger.js +++ b/lib/apiswagger.js @@ -474,7 +474,7 @@ module.exports = (app, client) => { pick({ filter: 'hits.hits' }), streamArray(), data => ({ instance: data.value._source.instance, comment: data.value._source.blocks.find(block => block.domain === clean(req.params.instance)).comment }), - stringer({ objectMode: true }) + stringer() ]) result.pipe(pipeline).pipe(res) } else {