mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
fix: random page broken
This commit is contained in:
parent
0ede4c7260
commit
a000447b0a
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ export default async function RandomPage() {
|
|||
|
||||
const randomIndex = Math.floor(Math.random() * count);
|
||||
const randomMii = await prisma.mii.findFirst({
|
||||
where: { in_queue: false, quarantined: false, needsFixing: { not: null } },
|
||||
where: { in_queue: false, quarantined: false, needsFixing: null },
|
||||
skip: randomIndex,
|
||||
take: 1,
|
||||
select: { id: true },
|
||||
|
|
|
|||
Loading…
Reference in a new issue