Skip to content

Commit

Permalink
fix: incorrect variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 authored May 8, 2024
1 parent 26f6305 commit 67c34dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/eventsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 67c34dd

Please sign in to comment.