diff --git a/packages/grpc-js/src/client-interceptors.ts b/packages/grpc-js/src/client-interceptors.ts index a06fda1f..9892959e 100644 --- a/packages/grpc-js/src/client-interceptors.ts +++ b/packages/grpc-js/src/client-interceptors.ts @@ -454,11 +454,10 @@ class BaseStreamingInterceptingCall extends BaseInterceptingCall // tslint:disable-next-line no-any function getBottomInterceptingCall( channel: Channel, - path: string, options: InterceptorOptions, methodDefinition: ClientMethodDefinition ) { - const call = getCall(channel, path, options); + const call = getCall(channel, methodDefinition.path, options); if (methodDefinition.responseStream) { return new BaseStreamingInterceptingCall(call, methodDefinition); } else { @@ -554,7 +553,6 @@ export function getInterceptingCall( (finalOptions: InterceptorOptions) => getBottomInterceptingCall( channel, - methodDefinition.path, finalOptions, methodDefinition )