1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2025-01-31 21:35:21 +01:00
This commit is contained in:
Rin 2022-07-17 10:26:40 +01:00
parent d588a1a479
commit cc37ad102f

View File

@ -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) {