fix: style updates

This commit is contained in:
Lucas Smith
2023-10-14 00:20:11 +11:00
committed by GitHub
parent 1c58b21383
commit 442b089d7f
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: {