hopefully fix ocm HoF
This commit is contained in:
parent
1ea17a1abf
commit
cf4fd399f6
@ -300,11 +300,11 @@ export async function ocmTallying(body: wm.protobuf.LoadGhostCompetitionInfoRequ
|
|||||||
// Get the Top 1 Advantage
|
// Get the Top 1 Advantage
|
||||||
if(top1advantage === null)
|
if(top1advantage === null)
|
||||||
{
|
{
|
||||||
top1advantage = OCMTally[i].result;
|
top1advantage = OCMTally[0].result;
|
||||||
|
|
||||||
let getTrail = await prisma.oCMGhostTrail.findFirst({
|
let getTrail = await prisma.oCMGhostTrail.findFirst({
|
||||||
where:{
|
where:{
|
||||||
carId: OCMTally[i].carId,
|
carId: OCMTally[0].carId,
|
||||||
competitionId: body.competitionId,
|
competitionId: body.competitionId,
|
||||||
ocmMainDraw: true
|
ocmMainDraw: true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user