diff --git a/src/lib/db/schema/invitations.query.ts b/src/lib/db/schema/invitations.query.ts index b415194..110b122 100644 --- a/src/lib/db/schema/invitations.query.ts +++ b/src/lib/db/schema/invitations.query.ts @@ -107,8 +107,6 @@ export async function updateInvitation(params: UpdateInvitationParams) { } try { - let existingInvitation; - const existingInvitation = await getInvitationById(id); await db