♻️ Replace eslint and prettier with biome (#1697)

This commit is contained in:
Luke Vella 2025-04-28 19:47:47 +01:00 committed by GitHub
parent 1577a0c5df
commit a34da49486
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
158 changed files with 450 additions and 2718 deletions

View file

@ -34,7 +34,7 @@ export async function getScheduledEvents({
const where: Prisma.ScheduledEventWhereInput = {
userId,
deletedAt: null,
...(status != "past" && { start: { gte: now } }),
...(status !== "past" && { start: { gte: now } }),
...(status === "past" && { start: { lt: now } }),
...(search && { title: { contains: search, mode: "insensitive" } }),
status: mapStatus[status],