Make kinship optional
This commit is contained in:
parent
f7e0df0241
commit
d212ea8109
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ data class StudentGuardian(
|
|||
val lastName: String,
|
||||
|
||||
@Json(name = "StPokrewienstwa")
|
||||
val kinship: String,
|
||||
val kinship: String?,
|
||||
|
||||
@Json(name = "Adres")
|
||||
val address: String,
|
||||
|
|
|
@ -36,6 +36,6 @@ private fun ScrapperStudentGuardian.toFamilyMember() = StudentGuardian(
|
|||
fullName = fullName,
|
||||
email = email.orEmpty(),
|
||||
address = address,
|
||||
kinship = kinship,
|
||||
kinship = kinship.orEmpty(),
|
||||
phones = phone
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue