diff --git a/integrations/zoom.js b/integrations/zoom.js index 8b4d897..689ef11 100644 --- a/integrations/zoom.js +++ b/integrations/zoom.js @@ -89,7 +89,8 @@ module.exports = async function(robot, kredits) { if (eventName === 'meeting.ended' && ( - process.env.KREDITS_ZOOM_MEETING_WHITELIST?.split(',').includes(object.id) + !process.env.KREDITS_ZOOM_MEETING_WHITELIST || + process.env.KREDITS_ZOOM_MEETING_WHITELIST.split(',').includes(object.id) )) { handleZoomMeetingEnded(object); }