1
0

chore: Idk
All checks were successful
Remote Deploy / deploy (push) Successful in 3s

This commit is contained in:
2025-10-24 08:28:08 +02:00
parent 401fd5d0cb
commit 756c3e4784

View File

@@ -41,6 +41,8 @@ app.post("/report", async (req, res) => {
const url = `https://n8n.local.jzitnik.dev/webhook/${process.env.WEBHOOK_UUID}`;
console.log(url)
const resp = await fetch(url, {
method: "POST",
headers: {
@@ -49,8 +51,6 @@ app.post("/report", async (req, res) => {
body: `${content}\n\nClass: ${className}\nLocation: ${location}`,
});
console.log(resp);
if (!resp.ok) {
throw new Error(`Request failed`);
}