fixed erros with new user.mdoel
Some checks failed
CI Pipeline / lint-and-test (push) Has been cancelled

This commit is contained in:
Oliver Wallisch 2026-09-23 14:55:31 +02:00
parent ba3e683297
commit d26d5f688a
2 changed files with 14 additions and 1 deletions

View file

@ -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
)

View file

@ -264,7 +264,7 @@ class ExposedKidioRepository : KidioRepository {
parentPin = it[UserTable.parentPin],
)
}
.singian leOrNull()
.singleOrNull()
}
override suspend fun verifyPassword(