From 0074281e30c59b0b1f641b6db5731783b444a547 Mon Sep 17 00:00:00 2001 From: agitrubard Date: Sun, 13 Oct 2024 18:45:42 +0300 Subject: [PATCH] GBS-44 | `SuccessResponse.content` Field Has Been Renamed as `result` --- .../common/model/response/SuccessResponse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }