Skip to content

Commit 0674010

Browse files
committed
Regenerate converters
1 parent 7e413f6 commit 0674010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vertx-auth-common/src/main/generated/io/vertx/ext/auth/PubSecKeyOptionsConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static void fromJson(Iterable<java.util.Map.Entry<String, Object>> json, PubSecK
2525
break;
2626
case "buffer":
2727
if (member.getValue() instanceof String) {
28-
obj.setBuffer(io.vertx.core.buffer.Buffer.buffer(BASE64_DECODER.decode((String)member.getValue())));
28+
obj.setBuffer(io.vertx.core.buffer.Buffer.fromJson((String)member.getValue()));
2929
}
3030
break;
3131
case "id":
@@ -46,7 +46,7 @@ static void toJson(PubSecKeyOptions obj, java.util.Map<String, Object> json) {
4646
json.put("algorithm", obj.getAlgorithm());
4747
}
4848
if (obj.getBuffer() != null) {
49-
json.put("buffer", BASE64_ENCODER.encodeToString(obj.getBuffer().getBytes()));
49+
json.put("buffer", obj.getBuffer().toJson());
5050
}
5151
if (obj.getId() != null) {
5252
json.put("id", obj.getId());

0 commit comments

Comments
 (0)