Fix events webhook

This commit is contained in:
Regalijan 2024-02-22 13:34:40 -05:00
parent 49a1d98e0c
commit be62702e77
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -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`,
},
],
}),