Multi-environment and multi-user construction
This commit is contained in:
@@ -129,7 +129,7 @@ export class ReportsService {
|
||||
select: { mood: true, createdAt: true },
|
||||
}),
|
||||
this.prisma.user.findMany({
|
||||
where: { organizationId: orgId },
|
||||
where: { memberships: { some: { organizationId: orgId } } },
|
||||
select: { id: true, fullName: true },
|
||||
}),
|
||||
this.prisma.invoice.findMany({
|
||||
|
||||
Reference in New Issue
Block a user