Include guest dob in guest search and detail responses
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
This commit is contained in:
@@ -63,6 +63,7 @@ data class GuestResponse(
|
||||
val id: UUID,
|
||||
val name: String?,
|
||||
val phoneE164: String?,
|
||||
val dob: String?,
|
||||
val nationality: String?,
|
||||
val addressText: String?,
|
||||
val signatureUrl: String?,
|
||||
|
||||
@@ -232,6 +232,7 @@ private fun Set<Guest>.toResponse(
|
||||
id = guest.id!!,
|
||||
name = guest.name,
|
||||
phoneE164 = guest.phoneE164,
|
||||
dob = guest.age?.trim()?.ifBlank { null },
|
||||
nationality = guest.nationality,
|
||||
addressText = guest.addressText,
|
||||
signatureUrl = guest.signaturePath?.let {
|
||||
|
||||
Reference in New Issue
Block a user