From cdc8fc0612900d94cbfaad832b83344161f2e1dc Mon Sep 17 00:00:00 2001 From: Justin Wind <justin.wind+git@gmail.com> Date: Mon, 7 Apr 2025 13:13:22 -0700 Subject: [PATCH] fix multiResult scrub, now mogrifies argument --- lib/postgres-creator.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/postgres-creator.js b/lib/postgres-creator.js index 34e28b1..dc0ee93 100644 --- a/lib/postgres-creator.js +++ b/lib/postgres-creator.js @@ -78,11 +78,10 @@ const PostgresCreator = (Abstract) => { * @returns {object[]} scrubbed results */ static _multiResultLog(results) { - const logResults = structuredClone(results); - for (const result of logResults) { + for (const result of results) { delete result._types; } - return logResults; + return results; } -- 2.49.0