diff --git a/src/main/java/com/haedal/haedalweb/util/ResponseUtil.java b/src/main/java/com/haedal/haedalweb/util/ResponseUtil.java index c4f6965..b15c1e8 100644 --- a/src/main/java/com/haedal/haedalweb/util/ResponseUtil.java +++ b/src/main/java/com/haedal/haedalweb/util/ResponseUtil.java @@ -15,7 +15,7 @@ public static void sendSuccessResponse(HttpServletResponse response, SuccessCode response.setStatus(successCode.getHttpStatus().value()); SuccessResponse successResponse = SuccessResponse.builder() - .success(true) + .success(successCode.getSuccess()) .message(successCode.getMessage()) .build(); @@ -41,4 +41,4 @@ public static void writeAsJsonResponse(HttpServletResponse response, Object data logger.error(e.getMessage()); } } -} +} \ No newline at end of file