Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dzarras committed Jul 26, 2024
1 parent c5e2082 commit 8c070a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class GetPresentationDefinitionLive(
}

private suspend fun invalidState(p: Presentation): InvalidState {
val cause = "Presentation should be in Submitted state but is in ${p.javaClass.name}"
val cause = "Presentation should be in RequestObjectRetrieved state but is in ${p.javaClass.name}"
logFailure(p, cause)
return InvalidState
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class GetRequestObjectLive(

private suspend fun invalidState(presentation: Presentation): InvalidState {
suspend fun log() {
val cause = "Presentation should be in Submitted state but is in ${presentation.javaClass.name}"
val cause = "Presentation should be in Requested state but is in ${presentation.javaClass.name}"
val event = PresentationEvent.FailedToRetrieveRequestObject(presentation.id, clock.instant(), cause)
publishPresentationEvent(event)
}
Expand Down

0 comments on commit 8c070a2

Please sign in to comment.