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