Skip to content

Commit

Permalink
format comment according to version
Browse files Browse the repository at this point in the history
  • Loading branch information
avarsava committed May 24, 2024
1 parent e6f32d6 commit 8e1ee93
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,11 @@ boolean transition(
.add(
MAPPER
.createObjectNode()
.set("add", MAPPER.createObjectNode().put("body", comment))));
.set(
"add",
MAPPER
.createObjectNode()
.set("body", version.createDocument(comment)))));
request.setUpdate(updateComment);

final var requestBuilder =
Expand Down

0 comments on commit 8e1ee93

Please sign in to comment.