refactor blockcount
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ale 2024-11-15 22:19:08 +01:00
parent cfb7baff52
commit a3bb3287ef

View File

@ -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 {