Peers error
This commit is contained in:
parent
00ad6c27c3
commit
3c7a89f2c5
@ -525,9 +525,12 @@ export class BlockchainKernelController {
|
|||||||
data += chunk;
|
data += chunk;
|
||||||
|
|
||||||
let dataJson = self.IsJsonString(data);
|
let dataJson = self.IsJsonString(data);
|
||||||
|
if(dataJson.length > 0){
|
||||||
|
|
||||||
dataJson.forEach(function (value, i) {
|
dataJson.forEach(function (value, i) {
|
||||||
value['id'] = i;
|
value['id'] = i;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
response.status(200).json({
|
response.status(200).json({
|
||||||
status: 200,
|
status: 200,
|
||||||
timestamp: Date.now(),
|
timestamp: Date.now(),
|
||||||
|
Loading…
Reference in New Issue
Block a user