Skip to content

Commit

Permalink
PutSearchApplicationAction.Response can return CREATED
Browse files Browse the repository at this point in the history
  • Loading branch information
romseygeek committed Sep 25, 2023
1 parent dd81707 commit bb54842
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected RestChannelConsumer innerPrepareRequest(RestRequest restRequest, NodeC
return channel -> client.execute(
PutSearchApplicationAction.INSTANCE,
request,
new RestToXContentListener<>(channel, PutSearchApplicationAction.Response::status)
new RestToXContentListener<>(channel, PutSearchApplicationAction.Response::status, r -> null)
);
}
}

0 comments on commit bb54842

Please sign in to comment.