diff --git a/examples/node/greeter_client.js b/examples/node/greeter_client.js index 175f8e6b5a8f7346279073cd18472b28487fc6b8..e0b89bd376a7edae9c280703e98096a5f2c5629b 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];