Skip to content
Snippets Groups Projects
Commit 42d31cb4 authored by Michael Lumish's avatar Michael Lumish Committed by GitHub
Browse files

Merge pull request #11501 from murgatroid99/node_protobufjs_6.8_support

Upgrade Protobuf.js 6 code to work with 6.8
parents 59c232c9 b48ec8b1
Branches
Tags
No related merge requests found
...@@ -64,7 +64,7 @@ exports.deserializeCls = function deserializeCls(cls, options) { ...@@ -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);
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment