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