aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/node/greeter_client.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/node/greeter_client.js')
-rw-r--r--examples/node/greeter_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/node/greeter_client.js b/examples/node/greeter_client.js
index 175f8e6b5a..e0b89bd376 100644
--- a/examples/node/greeter_client.js
+++ b/examples/node/greeter_client.js
@@ -38,7 +38,7 @@ var hello_proto = grpc.load(PROTO_PATH).helloworld;
function main() {
var client = new hello_proto.Greeter('localhost:50051',
- grpc.Credentials.createInsecure());
+ grpc.credentials.createInsecure());
var user;
if (process.argv.length >= 3) {
user = process.argv[2];