mirror of https://github.com/grpc/grpc-node.git
Correct handler type name spelling
This commit is contained in:
parent
38bab42f30
commit
0257c585ea
|
@ -857,11 +857,11 @@ function getDefaultHandler(handlerType, methodName) {
|
|||
return (call, callback) => {
|
||||
callback(unimplementedStatusResponse, null);
|
||||
};
|
||||
case 'clientStream':
|
||||
case 'client_stream':
|
||||
return (call,callback) => {
|
||||
callback(unimplementedStatusResponse, null);
|
||||
};
|
||||
case 'serverStream':
|
||||
case 'server_stream':
|
||||
return (call) => {
|
||||
call.emit('error', unimplementedStatusResponse);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue