1
0
mirror of synced 2024-12-04 19:17:58 +01:00

add missing stuff

This commit is contained in:
ghkkk090 2022-08-24 17:14:06 +07:00
parent fed0d55477
commit c18762b83e
5 changed files with 56 additions and 0 deletions

View File

@ -191,6 +191,10 @@ export default class CarModule extends Module {
let carTarget = await prisma.car.findFirst({
where:{
carId: challengers.carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})

View File

@ -28,6 +28,10 @@ export default class GameModule extends Module {
let car = await prisma.car.findFirst({
where: {
carId: body.carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
});
@ -296,6 +300,10 @@ export default class GameModule extends Module {
let car = await prisma.car.findFirst({
where: {
carId: body.carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
});

View File

@ -27,6 +27,10 @@ export default class GhostModule extends Module {
let car = await prisma.car.findFirst({
where:{
carId: body.carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})
@ -69,6 +73,10 @@ export default class GhostModule extends Module {
let carTarget = await prisma.car.findFirst({
where:{
carId: stampTargets[i].carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})
@ -97,6 +105,10 @@ export default class GhostModule extends Module {
let carTarget = await prisma.car.findFirst({
where:{
carId: challengers[i].carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})
@ -153,6 +165,10 @@ export default class GhostModule extends Module {
let carTarget = await prisma.car.findFirst({
where:{
carId: stampTargets[i].stampTargetCarId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})
@ -181,6 +197,10 @@ export default class GhostModule extends Module {
let carTarget = await prisma.car.findFirst({
where:{
carId: challengers[i].challengerCarId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})

View File

@ -121,6 +121,10 @@ export default class TerminalModule extends Module {
let car = await prisma.car.findFirst({
where: {
carId: carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
});
@ -646,6 +650,10 @@ export default class TerminalModule extends Module {
let cars = await prisma.car.findFirst({
where:{
carId: ocmParticipant[i].carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
});
@ -722,6 +730,10 @@ export default class TerminalModule extends Module {
let cars = await prisma.car.findFirst({
where:{
carId: ocmParticipant[i].carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})
@ -792,6 +804,10 @@ export default class TerminalModule extends Module {
let cars = await prisma.car.findFirst({
where:{
carId: ocmParticipant[i].carId
},
include:{
gtWing: true,
lastPlayedPlace: true
}
});

View File

@ -38,6 +38,10 @@ export async function sendStamp(body: wm.protobuf.SaveGameResultRequest)
NOT:{
userId: body.car!.userId!
}
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})
@ -130,6 +134,10 @@ export async function shuttleReturnStamp(body: wm.protobuf.SaveGameResultRequest
NOT:{
userId: body.car!.userId!
}
},
include:{
gtWing: true,
lastPlayedPlace: true
}
})