mirror of https://github.com/grpc/grpc-node.git
oooops
This commit is contained in:
parent
bba0644db5
commit
0c701e8da6
|
@ -983,6 +983,7 @@ exports.getClientInterceptors = function(client) {
|
||||||
return Object.keys(client.$method_definitions)
|
return Object.keys(client.$method_definitions)
|
||||||
.reduce((acc, key) => {
|
.reduce((acc, key) => {
|
||||||
acc[key] = client[key].interceptors;
|
acc[key] = client[key].interceptors;
|
||||||
|
return acc;
|
||||||
}, {});
|
}, {});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue