diff --git a/src/main/java/com/ticle/server/mypage/controller/MyQuestionController.java b/src/main/java/com/ticle/server/mypage/controller/MyQuestionController.java index aff1072..49f11de 100644 --- a/src/main/java/com/ticle/server/mypage/controller/MyQuestionController.java +++ b/src/main/java/com/ticle/server/mypage/controller/MyQuestionController.java @@ -43,7 +43,7 @@ public ResponseEntity> getMyQuestions(@AuthenticationPr List myQuestionDtos; myQuestionDtos = myPageService.getMyQuestions(userId); - List + return ResponseEntity .status(HttpStatus.OK) @@ -58,7 +58,7 @@ public ResponseEntity> updateQuestion(@PathVariable("id return ResponseEntity .status(HttpStatus.OK) - .body(ResponseTemplate.success("질문이 성공적으로 수정되었습니다.")); + .body(ResponseTemplate.from("질문이 성공적으로 수정되었습니다.")); }