diff options
author | Julien Dessaux | 2023-09-17 22:51:31 +0200 |
---|---|---|
committer | Julien Dessaux | 2023-09-17 22:51:31 +0200 |
commit | 3be4f0e9b4e5ad4fcf6e8e1ef5ee489d4549f99d (patch) | |
tree | 67b58cb703e78488d4f2b7b4d0e618f1934a73ea /nodejs | |
parent | [javascript] fixed contract delivery (diff) | |
download | spacetraders-3be4f0e9b4e5ad4fcf6e8e1ef5ee489d4549f99d.tar.gz spacetraders-3be4f0e9b4e5ad4fcf6e8e1ef5ee489d4549f99d.tar.bz2 spacetraders-3be4f0e9b4e5ad4fcf6e8e1ef5ee489d4549f99d.zip |
[javascript] fixed wrong variable usage
Diffstat (limited to 'nodejs')
-rw-r--r-- | nodejs/lib/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |