commit | 02b02df2ce6d3f4520751b41d5cc31d351fe49cf | [log] [tgz] |
---|---|---|
author | Spl3en <spl3en.contact@gmail.com> | Wed May 21 20:40:37 2025 +0200 |
committer | Jens Geyer <Jens-G@users.noreply.github.com> | Thu May 22 21:27:20 2025 +0200 |
tree | 199a5bbd7e3d1dafc79ca8b02be494f5f6f744a1 | |
parent | 1b8a998b938e5d21665d445f2e52ba9186c8ec4d [diff] |
Fix received keyword readMessageBegin doesn't declare received as a variable.
diff --git a/lib/js/src/thrift.js b/lib/js/src/thrift.js index 0c4eb26..c84aef0 100644 --- a/lib/js/src/thrift.js +++ b/lib/js/src/thrift.js
@@ -1084,7 +1084,7 @@ this.rstack = []; this.rpos = []; - received = this.transport.readAll(); + var received = this.transport.readAll(); if (typeof JSONInt64 !== 'undefined' && typeof JSONInt64.parse === 'function') { this.robj = JSONInt64.parse(received);