fix graduation bug
This commit is contained in:
parent
d423bf73a1
commit
f11bc34caf
1 changed files with 7 additions and 0 deletions
|
@ -368,6 +368,13 @@ import { Icon } from "astro-icon/components";
|
||||||
}`,
|
}`,
|
||||||
"success",
|
"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) {
|
} catch (error: any) {
|
||||||
createToast(error?.message || "Failed to check in to event", "error");
|
createToast(error?.message || "Failed to check in to event", "error");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue