Skip to content

Commit c2c5361

Browse files
committed
fix: InboxApi 에 RequestBody를 추가한다
1 parent dff2ef4 commit c2c5361

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/org/gitanimals/quiz/app/InboxApi.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
package org.gitanimals.quiz.app
22

33
import org.gitanimals.inbox.domain.InboxType
4+
import org.springframework.web.bind.annotation.RequestBody
45
import org.springframework.web.service.annotation.PostExchange
56
import java.time.Instant
67

78
fun interface InboxApi {
89

910
@PostExchange("/internals/inboxes")
10-
fun inputInbox(request: InboxInputRequest)
11+
fun inputInbox(@RequestBody request: InboxInputRequest)
1112

1213
data class InboxInputRequest(
1314
val inboxData: InboxData,

0 commit comments

Comments
 (0)