Skip to content

Commit

Permalink
plugin: fix generated fromJson for google.protobuf.Value (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugebdu authored Mar 20, 2023
1 parent 8c167ae commit 6c3f92b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,6 @@ export class WellKnownTypes implements CustomMethodGenerator {
} else if (globalThis.Array.isArray(json)) {
target.kind = {oneofKind: "${listValueField}", ${listValueField}: ListValue.fromJson(json)};
} else {
let val = Struct.fromJson(json);
target.kind = {oneofKind: "${structValueField}", ${structValueField}: Struct.fromJson(json)};
}
break;
Expand Down

0 comments on commit 6c3f92b

Please sign in to comment.