remove console.log
This commit is contained in:
parent
e47bfc85cc
commit
f82ffaa68e
@ -30,7 +30,7 @@ export default defineEventHandler(async (event) => {
|
|||||||
if (!["bug", "suggestion", "other", "appreciate"].includes(feedbackType!) || !message) {
|
if (!["bug", "suggestion", "other", "appreciate"].includes(feedbackType!) || !message) {
|
||||||
throw new Error("Invalid input.");
|
throw new Error("Invalid input.");
|
||||||
}
|
}
|
||||||
console.log(env.WEBHOOK_URL, process.env.WEBHOOK_URL);
|
|
||||||
await fetcher()
|
await fetcher()
|
||||||
.post(env.WEBHOOK_URL, {
|
.post(env.WEBHOOK_URL, {
|
||||||
username: "Feedback",
|
username: "Feedback",
|
||||||
|
Loading…
Reference in New Issue
Block a user