Team delete functionality.
This commit is contained in:
1 parent
835289a1f8
commit
0ce2d1fbfc
11 files changed
+128
-56
No files matched your search
@@ -6,6 +6,9 @@ import { ROLES } from 'lib/constants';
|
||||
export async function getTeam(where: Prisma.TeamWhereInput): Promise<Team> {
|
||||
return prisma.client.team.findFirst({
|
||||
where,
|
||||
include: {
|
||||
teamUser: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user