Fix typo in example application
This commit is contained in:
parent
33d376c4c8
commit
7805842eae
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user