Type fixes
This commit is contained in:
parent
4b7e3b3b16
commit
cbd84cbe64
|
@ -1,6 +1,11 @@
|
|||
import { Prisma } from "@prisma/client";
|
||||
|
||||
import prisma from "@lib/prisma";
|
||||
|
||||
export const deleteAllBookingsByEmail = async (email: string, whereConditional = {}) =>
|
||||
export const deleteAllBookingsByEmail = async (
|
||||
email: string,
|
||||
whereConditional: Prisma.BookingWhereInput = {}
|
||||
) =>
|
||||
prisma.booking.deleteMany({
|
||||
where: {
|
||||
user: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user