Skip to content

Commit

Permalink
Fix :: AiController GetMapping to PostMapping
Browse files Browse the repository at this point in the history
  • Loading branch information
seu1a committed Oct 23, 2024
1 parent 661131e commit 0b88c78
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import com.seugi.api.domain.chat.presentation.websocket.dto.ChatMessageDto
import com.seugi.api.global.common.annotation.GetAuthenticatedId
import com.seugi.api.global.response.BaseResponse
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 @@ -15,7 +16,7 @@ class AiController(
private val aiService: AiService,
) {

@GetMapping
@PostMapping
fun generatedAiChatbot(
@RequestBody chatMessageDto: ChatMessageDto,
@GetAuthenticatedId userId: Long,
Expand Down

0 comments on commit 0b88c78

Please sign in to comment.