mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +11:00
I don't even know
This commit is contained in:
parent
566a259896
commit
b07cf62030
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue