chore: fix types
This commit is contained in:
@@ -103,7 +103,7 @@ export const memberRouter = createTRPCRouter({
|
|||||||
const invitedUserEmail = invite.data.user?.email;
|
const invitedUserEmail = invite.data.user?.email;
|
||||||
|
|
||||||
if (invitedUserId && invitedUserEmail)
|
if (invitedUserId && invitedUserEmail)
|
||||||
userRepo.create(ctx.adminDb, {
|
await userRepo.create(ctx.adminDb, {
|
||||||
email: invitedUserEmail,
|
email: invitedUserEmail,
|
||||||
id: invitedUserId,
|
id: invitedUserId,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user