feat: finalize ticket merging and speaker-aware imports

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-10-10 13:28:18 +02:00
1 parent 7f340b4c08
commit fbc827c2b8
35 files changed
+1772 -348

No files matched your search

+3 -1
View File
@@ -106,7 +106,9 @@ export async function getMyContact(email: string): Promise<Contact | null> {
/** The signed-in contact's registration for the active event. */
export async function getMyRegistration(email: string): Promise<Registration | null> {
const { data, error } = await supabase.from('registrations').select('*').eq('contact_email', email).maybeSingle();
const event = await getActiveEvent();
if (!event) return null;
const { data, error } = await supabase.from('registrations').select('*').eq('contact_email', email).eq('event_id', event.id).maybeSingle();
if (error) throw new ApiError(error.message);
return (data as Registration) ?? null;
}