mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-26 04:22:38 +00:00
[F] Fix updated usage
This commit is contained in:
parent
1d4bb9b534
commit
611f6dbffc
@ -16,7 +16,6 @@ import io.netty.channel.ChannelInboundHandlerAdapter
|
||||
import org.springframework.stereotype.Component
|
||||
import java.nio.charset.StandardCharsets.US_ASCII
|
||||
import java.time.LocalDateTime
|
||||
import kotlin.jvm.optionals.getOrNull
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
@ -203,7 +202,7 @@ class AimeDB(
|
||||
var status = 0
|
||||
var aimeId = 0L
|
||||
|
||||
if (cardService.getCardByAccessCode(luid).isEmpty) {
|
||||
if (us.cardRepo.findByLuid(luid).isEmpty) {
|
||||
val card: Card = cardService.registerByAccessCode(luid)
|
||||
|
||||
status = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user