diff --git a/src/main/java/org/gelecekbilimde/scienceplatform/common/model/response/SuccessResponse.java b/src/main/java/org/gelecekbilimde/scienceplatform/common/model/response/SuccessResponse.java index c74f4fad..3590df46 100644 --- a/src/main/java/org/gelecekbilimde/scienceplatform/common/model/response/SuccessResponse.java +++ b/src/main/java/org/gelecekbilimde/scienceplatform/common/model/response/SuccessResponse.java @@ -21,7 +21,7 @@ public class SuccessResponse { private final Boolean isSuccess = true; @JsonInclude(JsonInclude.Include.NON_NULL) - private T content; + private T result; public static SuccessResponse success() { @@ -31,7 +31,7 @@ public static SuccessResponse success() { public static SuccessResponse success(final T content) { return SuccessResponse.builder() - .content(content) + .result(content) .build(); }