tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jorg...@apache.org
Subject [07/15] tinkerpop git commit: Fix for incorrect code in _adaptArgs function.
Date Thu, 23 Aug 2018 12:51:08 GMT
Fix for incorrect code in _adaptArgs function.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/80987330
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/80987330
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/80987330

Branch: refs/heads/tp32
Commit: 80987330fb9a724e7c94cf1c49f1bec1c8d125da
Parents: f67fea4
Author: Matthew Allen <matt.allen@runbox.com>
Authored: Fri Jul 13 00:58:52 2018 +0100
Committer: Matthew Allen <matt.allen@runbox.com>
Committed: Thu Aug 23 06:37:59 2018 +0100

----------------------------------------------------------------------
 .../gremlin-javascript/lib/driver/driver-remote-connection.js    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/80987330/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js
----------------------------------------------------------------------
diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js
b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js
index bec599b..c60492e 100644
--- a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js
+++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js
@@ -216,8 +216,8 @@ class DriverRemoteConnection extends RemoteConnection {
 
     if (args instanceof Object) {
       let newObj = {};
-      Object.keys(args).forEach((key, val) => {
-        newObj[key] = this._adaptArgs(val);
+      Object.keys(args).forEach((key) => {
+        newObj[key] = this._adaptArgs(args[key]);
       });
       return newObj;
     }


Mime
View raw message