This commit is contained in:
parent
35f3097b8e
commit
1eb0efe2a2
@ -489,10 +489,12 @@ module.exports = (app, client) => {
|
|||||||
}
|
}
|
||||||
])
|
])
|
||||||
result.pipe(pipeline)
|
result.pipe(pipeline)
|
||||||
|
pipeline.on('end', () => {
|
||||||
res.json({
|
res.json({
|
||||||
block_count,
|
block_count,
|
||||||
instances: instancescomment
|
instances: instancescomment
|
||||||
})
|
})
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
res.status(404).end()
|
res.status(404).end()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user