From be62702e77dbf6ecab825747e8669bd092338534 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Thu, 22 Feb 2024 13:34:40 -0500 Subject: [PATCH] Fix events webhook --- functions/api/events-team/events/new.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`, }, ], }),