From c1875b9a8a10fc82938de4761289be8935b341d2 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 24 Mar 2024 16:24:56 -0700 Subject: [PATCH] chore: eventing --- api/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/event.js b/api/event.js index 3573921e..4ded8cb7 100644 --- a/api/event.js +++ b/api/event.js @@ -23,7 +23,7 @@ export default async (request, context) => { const idVal = await ids.get(id) url = setUrl(idVal, `[noscript visit] ID: ${idVal}`) } else { - url = setUrl(num, `[Blocked visit] ID: ${num}`) + url = setUrl(num, `[Blocked visit] ID: ${num || 'unknown'}`) } fetch(url, { headers })