mirror of https://github.com/grpc/grpc-node.git
Fix reference to status enum in native impl
This commit is contained in:
parent
b90dc81b73
commit
38bab42f30
|
|
@ -845,7 +845,7 @@ Server.prototype.forceShutdown = function() {
|
||||||
|
|
||||||
function getUnimplementedStatusResponse(methodName) {
|
function getUnimplementedStatusResponse(methodName) {
|
||||||
return {
|
return {
|
||||||
code: Status.UNIMPLEMENTED,
|
code: constants.status.UNIMPLEMENTED,
|
||||||
details: 'The server does not implement the method' + methodName
|
details: 'The server does not implement the method' + methodName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue