Remove delay

This commit is contained in:
Sebastien Castiel
2023-12-07 21:30:13 -05:00
parent eeb3cba1a2
commit 15f959bcc2

View File

@@ -1,6 +1,5 @@
import { getPrisma } from '@/lib/prisma'
import { ExpenseFormValues, GroupFormValues } from '@/lib/schemas'
import { delay } from '@/lib/utils'
import { Expense } from '@prisma/client'
import { v4 as uuidv4 } from 'uuid'
@@ -80,7 +79,6 @@ export async function getGroupExpensesParticipants(groupId: string) {
}
export async function getGroups(groupIds: string[]) {
await delay(2000)
const prisma = await getPrisma()
return prisma.group.findMany({
where: { id: { in: groupIds } },