From 3be4f0e9b4e5ad4fcf6e8e1ef5ee489d4549f99d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 17 Sep 2023 22:51:31 +0200 Subject: [javascript] fixed wrong variable usage --- nodejs/lib/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/lib/api.js b/nodejs/lib/api.js index f9b981a..b9f768f 100644 --- a/nodejs/lib/api.js +++ b/nodejs/lib/api.js @@ -148,7 +148,7 @@ async function send_this(data) { queue.enqueue(data, 1); break; default: - data.reject(response); + data.reject(err); } } } -- cgit v1.2.3