diff options
author | Michael Lumish <mlumish@google.com> | 2015-10-26 08:52:19 -0700 |
---|---|---|
committer | Michael Lumish <mlumish@google.com> | 2015-10-26 08:52:19 -0700 |
commit | 66bae6f4a79cd84bfbcddef1a9d13301b05002be (patch) | |
tree | 342378ce2308fd7221e45a8f3fabb141ab864140 | |
parent | 9698e7636acb397401abfb8b406a8f33cd3246ea (diff) | |
parent | f02c535878c944f070322cc0c2775d933687b432 (diff) |
Merge pull request #3955 from paperstreet/fix_node_example
fix the node example client, looks like the case of credentials got changed
-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]; |