From 67c34dda11a7f8afb4adb173e1b90014f4bf9424 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Tue, 7 May 2024 19:58:17 -0700 Subject: [PATCH] fix: incorrect variable name --- functions/src/eventsub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/eventsub.ts b/functions/src/eventsub.ts index 0e14f29d..2e75712e 100644 --- a/functions/src/eventsub.ts +++ b/functions/src/eventsub.ts @@ -140,7 +140,7 @@ export const eventsub = functions.https.onRequest(async (req, res) => { const type = req.body?.subscription?.type as EventsubType; const version = req.body?.subscription?.version as string; - if (type === EventSubType.ChannelFollow && version === "1") { + if (type === EventsubType.ChannelFollow && version === "1") { console.log("rejecting channel.follow v1"); return; }