diff --git a/bot/src/modules/handleAnnouncementModal.ts b/bot/src/modules/handleAnnouncementModal.ts index d931939..b4d16ee 100644 --- a/bot/src/modules/handleAnnouncementModal.ts +++ b/bot/src/modules/handleAnnouncementModal.ts @@ -97,7 +97,7 @@ export const handleAnnouncementModal = async( const categoryValues = interaction.fields.getStringSelectValues("category"); const type = categoryValues[0] ?? "company"; - const response = await fetch("https://hikari.nhcarrigan.com/announcement", { + const response = await fetch("https://hikari.nhcarrigan.com/api/announcement", { body: JSON.stringify({ content, type }), headers: { // eslint-disable-next-line @typescript-eslint/naming-convention -- HTTP header capitalisation convention