Merge pull request #45 from drift-labs/master
fixing premature writeHead
This commit is contained in:
@@ -857,9 +857,6 @@ const main = async () => {
|
|||||||
normedMarketIndex
|
normedMarketIndex
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
res.writeHead(200);
|
|
||||||
res.end(JSON.stringify(l2Formatted));
|
|
||||||
} else {
|
} else {
|
||||||
// make the BNs into strings
|
// make the BNs into strings
|
||||||
l2Formatted = l2WithBNToStrings(l2);
|
l2Formatted = l2WithBNToStrings(l2);
|
||||||
|
|||||||
Reference in New Issue
Block a user