mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
fix: refactor teams router (#1500)
This commit is contained in:
@ -16,7 +16,7 @@ export type ResendTeamMemberInvitationOptions = {
|
||||
export const resendTeamEmailVerification = async ({
|
||||
userId,
|
||||
teamId,
|
||||
}: ResendTeamMemberInvitationOptions) => {
|
||||
}: ResendTeamMemberInvitationOptions): Promise<void> => {
|
||||
await prisma.$transaction(
|
||||
async (tx) => {
|
||||
const team = await tx.team.findUniqueOrThrow({
|
||||
|
||||
Reference in New Issue
Block a user