mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
chore: implemented feedback
This commit is contained in:
@ -33,21 +33,8 @@ export const findUsers = async ({
|
||||
|
||||
const [users, count] = await Promise.all([
|
||||
await prisma.user.findMany({
|
||||
select: {
|
||||
id: true,
|
||||
name: true,
|
||||
email: true,
|
||||
roles: true,
|
||||
Subscription: {
|
||||
select: {
|
||||
id: true,
|
||||
status: true,
|
||||
planId: true,
|
||||
priceId: true,
|
||||
createdAt: true,
|
||||
periodEnd: true,
|
||||
},
|
||||
},
|
||||
include: {
|
||||
Subscription: true,
|
||||
Document: {
|
||||
select: {
|
||||
id: true,
|
||||
|
||||
Reference in New Issue
Block a user