diff options
author | murgatroid99 <mlumish@google.com> | 2017-03-10 14:13:41 -0800 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2017-03-10 14:13:41 -0800 |
commit | 46a50d5b0a2181f7c8d8446b22a1c78032d84b31 (patch) | |
tree | d817fc8ef52f54bed691664017675bf749e9416d /src/node | |
parent | 169c553e0d2f461e57af01958fcede2e3276f6d5 (diff) | |
parent | 4a8694fb3160c6525245c998842d727b339f2546 (diff) |
Merge remote-tracking branch 'upstream/v1.2.x' into upmerge_v1.2.x
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/src/server.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/src/server.js b/src/node/src/server.js index 8a7eff507d..a5a0ea2642 100644 --- a/src/node/src/server.js +++ b/src/node/src/server.js @@ -728,7 +728,7 @@ var defaultHandler = { * method implementation for the provided service. */ Server.prototype.addService = function(service, implementation) { - if (!_.isObjectLike(service) || !_.isObjectLike(implementation)) { + if (!_.isObject(service) || !_.isObject(implementation)) { throw new Error('addService requires two objects as arguments'); } if (_.keys(service).length === 0) { |