diff --git a/src/lib/db/schema/invitations.query.ts b/src/lib/db/schema/invitations.query.ts index 609f08d..714a1e8 100644 --- a/src/lib/db/schema/invitations.query.ts +++ b/src/lib/db/schema/invitations.query.ts @@ -120,7 +120,9 @@ export async function updateInvitation(params: UpdateInvitationParams) { if (eventUrl && eventUrl !== existingInvitation.eventUrl) { revalidatePath(`/i/${eventUrl}`); + revalidatePath(`/i/${eventUrl}/edit`); revalidatePath(`/i/${existingInvitation.eventUrl}`); + revalidatePath(`/i/${existingInvitation.eventUrl}/edit`); } else { revalidatePath(`/i/${existingInvitation.eventUrl}`); }