Fix typo in example application

This commit is contained in:
Michael Bull 2020-08-27 13:44:56 +01:00
parent 33d376c4c8
commit 7805842eae
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ private fun eventToResponse(event: Event?) = when (event) {
HttpStatusCode.OK to "First name changed from ${event.old} to ${event.new}" HttpStatusCode.OK to "First name changed from ${event.old} to ${event.new}"
is LastNameChanged -> is LastNameChanged ->
HttpStatusCode.OK to "First name changed from ${event.old} to ${event.new}" HttpStatusCode.OK to "Last name changed from ${event.old} to ${event.new}"
is EmailAddressChanged -> is EmailAddressChanged ->
HttpStatusCode.OK to "Email address changed from ${event.old} to ${event.new}" HttpStatusCode.OK to "Email address changed from ${event.old} to ${event.new}"