From f11bc34caf7ccd201cc495d1c05ce1ab8750466b Mon Sep 17 00:00:00 2001 From: chark1es Date: Tue, 11 Feb 2025 00:54:26 -0800 Subject: [PATCH] fix graduation bug --- src/components/dashboard/EventsSection.astro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/dashboard/EventsSection.astro b/src/components/dashboard/EventsSection.astro index e5f1da4..7e386b9 100644 --- a/src/components/dashboard/EventsSection.astro +++ b/src/components/dashboard/EventsSection.astro @@ -368,6 +368,13 @@ import { Icon } from "astro-icon/components"; }`, "success", ); + + // Log the check-in + await logger.send( + "check_in", + "events", + `User ${currentUser.name} (${currentUser.graduation_year}) checked in to event ${event.event_name}`, + ); } catch (error: any) { createToast(error?.message || "Failed to check in to event", "error"); }