Skip to content

Commit

Permalink
release: 0.7.8 (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb authored Nov 30, 2024
2 parents 340a207 + 22a07a1 commit 8183df3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.*
@RestController
class InboxTestController(
private val sagaManager: SagaManager,
@Value("\$test.secret") private val testSecret: String,
@Value("\${test.secret}") private val testSecret: String,
) {

@PostMapping("test/input-inbox")
Expand All @@ -18,7 +18,7 @@ class InboxTestController(
@RequestHeader("Test-Secret") testSecret: String,
@RequestBody inboxInputEvent: InboxInputEvent,
) {
require(testSecret == this.testSecret) { "Invalid testSecret" }
require(testSecret == this.testSecret) { "Invalid testSecret testSecret" }
sagaManager.startSync(inboxInputEvent)
}
}

0 comments on commit 8183df3

Please sign in to comment.