Skip to content

Commit

Permalink
GBS-44 | SuccessResponse.content Field Has Been Renamed as result
Browse files Browse the repository at this point in the history
  • Loading branch information
agitrubard committed Oct 13, 2024
1 parent a9e5df9 commit 0074281
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class SuccessResponse<T> {
private final Boolean isSuccess = true;

@JsonInclude(JsonInclude.Include.NON_NULL)
private T content;
private T result;


public static SuccessResponse<Void> success() {
Expand All @@ -31,7 +31,7 @@ public static SuccessResponse<Void> success() {

public static <T> SuccessResponse<T> success(final T content) {
return SuccessResponse.<T>builder()
.content(content)
.result(content)
.build();
}

Expand Down

0 comments on commit 0074281

Please sign in to comment.