mirror of https://github.com/grpc/grpc-node.git
Upgrade Protobuf.js 6 code to work with 6.8
This commit is contained in:
parent
faae84a8cd
commit
26c4bffa79
|
@ -64,7 +64,7 @@ exports.deserializeCls = function deserializeCls(cls, options) {
|
||||||
* @return {cls} The resulting object
|
* @return {cls} The resulting object
|
||||||
*/
|
*/
|
||||||
return function deserialize(arg_buf) {
|
return function deserialize(arg_buf) {
|
||||||
return cls.decode(arg_buf).toObject(conversion_options);
|
return cls.toObject(cls.decode(arg_buf), conversion_options);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue