diff --git a/src/main/kotlin/com/example/onui/domain/diary/presentation/DiaryController.kt b/src/main/kotlin/com/example/onui/domain/diary/presentation/DiaryController.kt index 012f858..dd6a49c 100644 --- a/src/main/kotlin/com/example/onui/domain/diary/presentation/DiaryController.kt +++ b/src/main/kotlin/com/example/onui/domain/diary/presentation/DiaryController.kt @@ -52,7 +52,7 @@ class DiaryController( @GetMapping("/ago") fun getSevenDaysAgo() = diaryService.getSevenDaysAgo() - @GetMapping("/chat") + @PostMapping("/chat") fun test( @RequestBody @Valid req: ChattingWithGPTRequest