Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix events webhook
  • Loading branch information
regalijan committed Feb 22, 2024
1 parent 49a1d98 commit be62702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/events-team/events/new.ts
Expand Up @@ -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`,
},
],
}),
Expand Down

0 comments on commit be62702

Please sign in to comment.