diff --git a/taxonium_backend/server.js b/taxonium_backend/server.js index 96e7633d..4d00ae02 100644 --- a/taxonium_backend/server.js +++ b/taxonium_backend/server.js @@ -12,6 +12,7 @@ var axios = require("axios"); var pako = require("pako"); const URL = require("url").URL; var streamJson = require("stream-json"); +var streamValues = require("stream-json/streamers/StreamValues").streamValues; const ReadableWebToNodeStream = require("readable-web-to-node-stream"); const { execSync } = require("child_process"); var importing; @@ -508,7 +509,7 @@ const loadData = async () => { logStatusMessage, ReadableWebToNodeStream.ReadableWebToNodeStream, streamJson.parser, - streamJson.streamValues + streamValues ); logStatusMessage({