auto unsubscribe on bounce and compaints (#117)

* auto unsubscribe on bounce and compaints

* console
This commit is contained in:
KM Koushik
2025-03-18 00:25:11 +11:00
committed by GitHub
parent 0a1d93ac60
commit 0fc27d8d7e
11 changed files with 231 additions and 143 deletions

View File

@@ -35,9 +35,8 @@ export async function POST(req: Request) {
event: message,
messageId: data.MessageId,
});
console.log("Error is parsing hook", !status);
if (!status) {
return Response.json({ data: "Error is parsing hook" });
return Response.json({ data: "Error in parsing hook" });
}
return Response.json({ data: "Success" });