I don't even know
This commit is contained in:
parent
566a259896
commit
b07cf62030
@ -8,9 +8,6 @@ export default defineEventHandler(async (event) => {
|
||||
);
|
||||
const env = useRuntimeConfig(event);
|
||||
|
||||
if (!["bug", "suggestion", "other", "appreciate"].includes(type!) || !message)
|
||||
throw new Error("Invalid input.");
|
||||
|
||||
let description = `${message}\n\n`;
|
||||
if (contact) description += `**Contact:** ${contact} • `;
|
||||
if (page) description += `**Page:** \`${page}\``;
|
||||
|
Loading…
Reference in New Issue
Block a user