fixed erros with new user.mdoel
Some checks failed
CI Pipeline / lint-and-test (push) Has been cancelled
Some checks failed
CI Pipeline / lint-and-test (push) Has been cancelled
This commit is contained in:
parent
ba3e683297
commit
d26d5f688a
|
|
@ -0,0 +1,13 @@
|
|||
package com.oliver.kidio.backend.domain.models
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class User(
|
||||
val id: String,
|
||||
val email: String,
|
||||
val passwordHash: String,
|
||||
val familyName: String,
|
||||
val childAge: Int,
|
||||
val parentPin: String
|
||||
)
|
||||
|
|
@ -264,7 +264,7 @@ class ExposedKidioRepository : KidioRepository {
|
|||
parentPin = it[UserTable.parentPin],
|
||||
)
|
||||
}
|
||||
.singian leOrNull()
|
||||
.singleOrNull()
|
||||
}
|
||||
|
||||
override suspend fun verifyPassword(
|
||||
|
|
|
|||
Loading…
Reference in a new issue