From 0db0d220ccb860c7f3f19d2dbdf53e000bea7e9b Mon Sep 17 00:00:00 2001 From: Hikari Date: Mon, 23 Mar 2026 15:03:36 -0700 Subject: [PATCH] fix: correct announcement API endpoint URL --- bot/src/modules/handleAnnouncementModal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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