THRIFT-2376 nodejs: allow Promise style calls for client and server
patch: Pierre Lamot
diff --git a/tutorial/nodejs/NodeClient.js b/tutorial/nodejs/NodeClient.js
index 3d09709..74aa55a 100644
--- a/tutorial/nodejs/NodeClient.js
+++ b/tutorial/nodejs/NodeClient.js
@@ -68,7 +68,7 @@
work.num2 = 10;
client.calculate(1, work, function(err, message) {
- console.log('15-10=' + message.value);
+ console.log('15-10=' + message);
client.getStruct(1, function(err, message){
console.log('Check log: ' + message.value);