Implement requests page

This commit is contained in:
Jorge Vargas 2025-06-19 19:42:24 -06:00
parent 75eaf17346
commit d3439321ba
14 changed files with 10333 additions and 7522 deletions

View file

@ -5,7 +5,7 @@ const LIMIT_PENDING = 5
export default async function MigrationFn(tx: Prisma.TransactionClient) {
const donatorRequests = await tx.requests.findMany({
where: { donator: true, state: RequestState.PENDING, userID: { not: null } }
where: { donator: true, state: RequestState.PENDING }
})
const donatorMap = new Map<string, typeof donatorRequests>()