From a2f873c5cf822b6af68223f1854ab4448ec4ef81 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Tue, 1 Oct 2024 01:51:48 +0100 Subject: [PATCH] update --- taxonium_backend/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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({