1
0
mirror of synced 2025-02-23 13:39:03 +01:00

wrong table

This commit is contained in:
Shiroi Kitsu 2023-03-15 18:24:16 +07:00
parent ac25f3a978
commit 522a60957b

View File

@ -727,7 +727,8 @@ export default class TerminalModule extends Module {
let userPlayedAt = await prisma.oCMGhostBattleRecord.findFirst({
where:{
carId: body.carId
carId: body.carId,
competitionId: body.competitionId
},
select:{
playedAt: true
@ -917,7 +918,8 @@ export default class TerminalModule extends Module {
let userPlayedAt = await prisma.oCMGhostBattleRecord.findFirst({
where:{
carId: body.carId
carId: body.carId,
competitionId: body.competitionId
},
select:{
playedAt: true