fix: style updates

This commit is contained in:
Lucas Smith
2023-10-14 00:20:11 +11:00
committed by Mythie
parent 9fa7505061
commit 5a79535080
4 changed files with 15 additions and 11 deletions

View File

@ -1,6 +1,10 @@
import { prisma } from '@documenso/prisma';
export const deleteUser = async (email: string) => {
export type DeleteUserOptions = {
email: string;
}
export const deleteUser = async ({ email }: DeleteUserOptions) => {
const user = await prisma.user.findFirst({
where: {
email: {