Fix events webhook
This commit is contained in:
parent
49a1d98e0c
commit
be62702e77
@ -82,7 +82,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
{
|
{
|
||||||
title: "Event Submitted",
|
title: "Event Submitted",
|
||||||
color: 3756250,
|
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`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user