From 8983a10f6651e8b233967fd9ce0044a0c70d7d2b Mon Sep 17 00:00:00 2001 From: thewesleyee Date: Fri, 25 Aug 2023 13:20:40 +0800 Subject: [PATCH] Possible fix - concurrent query error --- lib/athenaExpress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/athenaExpress.js b/lib/athenaExpress.js index f5d39db..8f1e002 100644 --- a/lib/athenaExpress.js +++ b/lib/athenaExpress.js @@ -50,7 +50,7 @@ module.exports = class AthenaExpress { * @returns {Promise} */ async query(query, queryParams) { - const config = this.config; + const config = { ...this.config }; let initiateQueryInAthena = true;