aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/index.js')
-rw-r--r--src/node/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/index.js b/src/node/index.js
index ba6bac3971..591d9dd915 100644
--- a/src/node/index.js
+++ b/src/node/index.js
@@ -43,7 +43,7 @@ var server = require('./src/server.js');
var Metadata = require('./src/metadata.js');
-var grpc = require('bindings')('grpc');
+var grpc = require('bindings')('grpc_node');
/**
* Load a gRPC object from an existing ProtoBuf.Reflect object.
@@ -90,7 +90,6 @@ exports.load = function load(filename, format) {
default:
throw new Error('Unrecognized format "' + format + '"');
}
-
return loadObject(builder.ns);
};