mirror of https://github.com/hykilpikonna/AquaDX
[F] Fix spring autowire for AquaNetUser
parent
a65fa8cf10
commit
32826440cb
|
@ -55,6 +55,7 @@ dependencies {
|
|||
implementation("io.ktor:ktor-client-cio:2.3.8")
|
||||
implementation("io.ktor:ktor-client-content-negotiation:2.3.8")
|
||||
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.8")
|
||||
implementation("org.jetbrains.kotlin:kotlin-reflect:1.9.22")
|
||||
}
|
||||
|
||||
group = "icu.samnya"
|
||||
|
|
|
@ -5,8 +5,6 @@ import icu.samnyan.aqua.net.db.AquaNetUser
|
|||
import icu.samnyan.aqua.net.db.AquaNetUserRepo
|
||||
import icu.samnyan.aqua.net.utils.TurnstileService
|
||||
import jakarta.servlet.http.HttpServletRequest
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.withContext
|
||||
import org.springframework.security.crypto.password.PasswordEncoder
|
||||
import org.springframework.web.bind.annotation.PostMapping
|
||||
import org.springframework.web.bind.annotation.RequestMapping
|
||||
|
|
|
@ -32,7 +32,7 @@ class AquaNetUser(
|
|||
var profileBio: String = "",
|
||||
|
||||
// One user can have multiple cards
|
||||
@OneToMany(mappedBy = "aquaNetUser", cascade = [CascadeType.ALL])
|
||||
@OneToMany(mappedBy = "aquaUser", cascade = [CascadeType.ALL])
|
||||
var cards: MutableList<Card> = mutableListOf()
|
||||
) : Serializable
|
||||
|
||||
|
|
Loading…
Reference in New Issue