generated from nhcarrigan/template
fix: correct announcement API endpoint URL
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user