mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
chore: implement pr feedback
This commit is contained in:
@ -2,7 +2,7 @@ import { Prisma } from '@prisma/client';
|
||||
|
||||
import { prisma } from '@documenso/prisma';
|
||||
|
||||
type getAllUsersProps = {
|
||||
type GetAllUsersProps = {
|
||||
username: string;
|
||||
email: string;
|
||||
page: number;
|
||||
@ -14,7 +14,7 @@ export const findUsers = async ({
|
||||
email = '',
|
||||
page = 1,
|
||||
perPage = 10,
|
||||
}: getAllUsersProps) => {
|
||||
}: GetAllUsersProps) => {
|
||||
const whereClause = Prisma.validator<Prisma.UserWhereInput>()({
|
||||
OR: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user