Skip to content

Commit

Permalink
fix: fix missing set of newly created payload on message object (Apic…
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Ledentec committed Aug 13, 2024
1 parent e2428d6 commit 7d00640
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void execute(Document document) {
Object payload = message.payload;
if (payload == null) {
payload = JsonCompat.objectNode();
message.payload = payload;
}
Object oldValue = JsonCompat.getProperty(payload, "$ref");
if (oldValue != null && JsonCompat.isString(oldValue)) {
Expand Down

0 comments on commit 7d00640

Please # to comment.