mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2025-01-31 21:35:21 +01:00
WHOOPS
This commit is contained in:
parent
d588a1a479
commit
cc37ad102f
@ -308,7 +308,7 @@ export default class GameModule extends Module {
|
||||
course: body.course
|
||||
},
|
||||
orderBy: {
|
||||
time: 'desc'
|
||||
time: 'asc'
|
||||
}
|
||||
});
|
||||
let taRecordsOverall = await prisma.timeAttackRecord.findMany({
|
||||
@ -317,7 +317,7 @@ export default class GameModule extends Module {
|
||||
course: body.course
|
||||
},
|
||||
orderBy: {
|
||||
time: 'desc'
|
||||
time: 'asc'
|
||||
}
|
||||
});
|
||||
let taRecordPb = await prisma.timeAttackRecord.findFirst({
|
||||
@ -326,7 +326,7 @@ export default class GameModule extends Module {
|
||||
course: body.course
|
||||
},
|
||||
orderBy: {
|
||||
time: 'desc'
|
||||
time: 'asc'
|
||||
}
|
||||
});
|
||||
if (!taRecordPb) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user