Fix nit
This commit is contained in:
parent
28a6fbb8f1
commit
ab5fb7bde4
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function convert (call, callback) {
|
|||
* CurrencyConverter service at the sample server port
|
||||
*/
|
||||
function main () {
|
||||
var server = new grpc.Server();
|
||||
const server = new grpc.Server();
|
||||
server.addService(shopProto.CurrencyService.service, {getSupportedCurrencies, convert});
|
||||
server.bind(`0.0.0.0:${PORT}`, grpc.ServerCredentials.createInsecure());
|
||||
server.start();
|
||||
|
|
Loading…
Reference in a new issue