mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
fix: style updates
This commit is contained in:
@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user