Skip to content

Commit

Permalink
Use params provided in lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
thecoop committed Oct 3, 2024
1 parent 05cb445 commit eadc462
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public ChunkedToXContentBuilder field(String name, Enum<?> value) {
}

public ChunkedToXContentBuilder field(String name, ToXContent value) {
addChunk((b, p) -> b.field(name, value, params));
addChunk((b, p) -> b.field(name, value, p));
return this;
}

Expand Down

0 comments on commit eadc462

Please sign in to comment.