diff options
author | Daniel Harrison <daniel.harrison@gmail.com> | 2015-10-24 16:45:04 -0400 |
---|---|---|
committer | Daniel Harrison <daniel.harrison@gmail.com> | 2015-10-24 16:45:04 -0400 |
commit | f02c535878c944f070322cc0c2775d933687b432 (patch) | |
tree | 342378ce2308fd7221e45a8f3fabb141ab864140 /examples/node | |
parent | 9698e7636acb397401abfb8b406a8f33cd3246ea (diff) |
fix node example
Diffstat (limited to 'examples/node')
-rw-r--r-- | examples/node/greeter_client.js | 2 |
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]; |