Skip to content

Commit

Permalink
Fix account history contract in the simple bank account application (#65
Browse files Browse the repository at this point in the history
)
  • Loading branch information
KodaiD authored Sep 20, 2024
1 parent a0fb43d commit 134e023
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public JsonNode invoke(Ledger<JsonNode> ledger, JsonNode argument, @Nullable Jso
getObjectMapper()
.createObjectNode()
.put("id", asset.id())
.put("data", asset.data().asText())
.put("age", asset.age());
.put("age", asset.age())
.set("data", asset.data());
result.add(json);
});

Expand Down

0 comments on commit 134e023

Please sign in to comment.