THRIFT-3904 Fix typo in node tutorial.
This closes #1067
diff --git a/tutorial/nodejs/NodeClientPromise.js b/tutorial/nodejs/NodeClientPromise.js
index d0245c5..fac12ba 100644
--- a/tutorial/nodejs/NodeClientPromise.js
+++ b/tutorial/nodejs/NodeClientPromise.js
@@ -22,8 +22,8 @@
var ttypes = require('./gen-nodejs/tutorial_types');
-var transport = thrift.TBufferedTransport();
-var protocol = thrift.TBinaryProtocol();
+var transport = thrift.TBufferedTransport;
+var protocol = thrift.TBinaryProtocol;
var connection = thrift.createConnection("localhost", 9090, {
transport : transport,