Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Jul 26, 2023
1 parent e3b8c4d commit 36a6c4e
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,7 @@ public XContentBuilder errorsAsXContent(RestChannel channel) {
case WEAK_PASSWORD:
case SIMILAR_PASSWORD:
builder.field("status", "error");
builder.field(
"reason",
errorType.message
);
builder.field("reason", errorType.message);
break;
case WRONG_DATATYPE:
builder.field("status", "error");
Expand Down

0 comments on commit 36a6c4e

Please sign in to comment.