Skip to content

Commit

Permalink
Merge pull request #145 from Say-Better/feature/144
Browse files Browse the repository at this point in the history
🐛 Bug - 채팅 API 메서드 수정
  • Loading branch information
moir2407 authored Aug 11, 2024
2 parents d03cb23 + e636ac6 commit 5a3b454
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.say.better.core.common.response.ResponseDto
import io.say.better.domain.chatting.application.ChattingFacade
import io.say.better.domain.chatting.ui.dto.ChattingRequest
import io.say.better.domain.chatting.ui.dto.ChattingResponse
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
Expand All @@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RestController
class ChattingController(
private val chattingFacade: ChattingFacade,
) {
@GetMapping("")
@PostMapping("")
fun chat(
@RequestBody request: ChattingRequest,
): ResponseDto<ChattingResponse> {
Expand Down

0 comments on commit 5a3b454

Please sign in to comment.