Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions complete/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var grpc = require('grpc');

var booksProto = grpc.load('books.proto');

var client = new booksProto.books.BookService('127.0.0.1:50051', grpc.Credentials.createInsecure());
var client = new booksProto.books.BookService('127.0.0.1:50051', grpc.credentials.createInsecure());

function printResponse(error, response) {
if (error)
Expand Down Expand Up @@ -77,4 +77,4 @@ else if (command == 'get')
else if (command == 'delete')
deleteBook(process.argv[0]);
else if (command == 'watch')
watchBooks();
watchBooks();