Skip to content

Commit

Permalink
Hotfix Taxonium backend after recent changes (#621)
Browse files Browse the repository at this point in the history
* Hotfix Taxonium backend after recent changes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
theosanderson and pre-commit-ci[bot] authored Oct 9, 2024
1 parent 43107f4 commit 5334b9e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion taxonium_backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const URL = require("url").URL;
const ReadableWebToNodeStream = require("readable-web-to-node-stream");
const { execSync } = require("child_process");
const { Readable } = require("stream");
var parser = require("stream-json").parser;
var streamValues = require("stream-json/streamers/StreamValues").streamValues;

var importing;
var filtering;
var exporting;
Expand Down Expand Up @@ -434,7 +437,9 @@ const loadData = async () => {
processedData = await importing.processJsonl(
supplied_object,
logStatusMessage,
ReadableWebToNodeStream.ReadableWebToNodeStream
ReadableWebToNodeStream.ReadableWebToNodeStream,
parser,
streamValues
);

logStatusMessage({
Expand Down

0 comments on commit 5334b9e

Please sign in to comment.