From ab5fb7bde4c605c94ecb1cc1e886522c5ce0507d Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Fri, 22 Jun 2018 13:54:40 -0700 Subject: [PATCH] Fix nit --- src/currencyservice/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/currencyservice/server.js b/src/currencyservice/server.js index a218105..e1263b8 100644 --- a/src/currencyservice/server.js +++ b/src/currencyservice/server.js @@ -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();