diff --git a/functions/api/events-team/events/new.ts b/functions/api/events-team/events/new.ts index b080cf1..836e52f 100644 --- a/functions/api/events-team/events/new.ts +++ b/functions/api/events-team/events/new.ts @@ -82,7 +82,7 @@ export async function onRequestPost(context: RequestContext) { { title: "Event Submitted", color: 3756250, - description: `${context.data.user.username} submitted an event for ${currentYear}-${currentMonth}-${day}. See it at https://carcrushers.cc/events-team`, + description: `${context.data.current_user.username} submitted an event for ${currentYear}-${currentMonth}-${day}. See it at https://carcrushers.cc/events-team`, }, ], }),